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
+3 -2
View File
@@ -1,4 +1,5 @@
.auth* .auth*
config.json config.json
./venv ./venv/
./idea /.idea/inspectionProfiles/
/.idea/
+1
View File
@@ -55,6 +55,7 @@ def process_events(events):
now = datetime.now(tz=TIMEZONE) now = datetime.now(tz=TIMEZONE)
is_working_time = is_work_time(now.time()) is_working_time = is_work_time(now.time())
is_weekend = now.weekday() not in WORK_DAYS is_weekend = now.weekday() not in WORK_DAYS
print(is_weekend, now.weekday())
if is_event_active(events, now): if is_event_active(events, now):
if is_weekend: if is_weekend: