diff --git a/.gitignore b/.gitignore index 9e19810..24a684b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .auth* config.json -./venv -./idea \ No newline at end of file +./venv/ +/.idea/inspectionProfiles/ +/.idea/ diff --git a/pi-calendar-sign.py b/pi-calendar-sign.py index 86829b8..07cc2d6 100644 --- a/pi-calendar-sign.py +++ b/pi-calendar-sign.py @@ -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: