You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While this loop is running, the program would continue to spam alert_onTelegram function until it sends a message, preventing it from moving on to a different phase when enough time passes and potentially keeping the laptop awake the entire night
instead it should:
use a timeout/sleep instead of spamming that function
keep track of current phase, if we move on to midnight break the loop (and possibly store the current message to be sent in the next day's loop)
The text was updated successfully, but these errors were encountered:
Lines of code creating the problem:
12-hour-server/smart_sleep.py
Lines 1108 to 1119 in a2d2d5e
While this loop is running, the program would continue to spam
alert_onTelegram
function until it sends a message, preventing it from moving on to a different phase when enough time passes and potentially keeping the laptop awake the entire nightinstead it should:
The text was updated successfully, but these errors were encountered: