debugging
This commit is contained in:
1 parent
d768bcb20d
commit
ddb284300d
2 files changed
+4
-2
No files matched your search
+3
-2
@@ -1,4 +1,5 @@
|
||||
.auth*
|
||||
config.json
|
||||
./venv
|
||||
./idea
|
||||
./venv/
|
||||
/.idea/inspectionProfiles/
|
||||
/.idea/
|
||||
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user