debugging

This commit is contained in:
Lucas Oskorep
2022-07-18 13:49:10 -04:00
parent d768bcb20d
commit ddb284300d
2 changed files with 4 additions and 2 deletions
+1
View File
@@ -55,6 +55,7 @@ def process_events(events):
now = datetime.now(tz=TIMEZONE)
is_working_time = is_work_time(now.time())
is_weekend = now.weekday() not in WORK_DAYS
print(is_weekend, now.weekday())
if is_event_active(events, now):
if is_weekend: