diff --git a/main.py b/main.py index 1abc9e5..85c1c7f 100644 --- a/main.py +++ b/main.py @@ -56,7 +56,7 @@ if not DAYS_OF_WEEK: def is_within_schedule(): now = datetime.now() - return now.weekday() in DAYS_OF_WEEK and START_HOUR <= now.hour < END_HOUR + return now.isoweekday() in DAYS_OF_WEEK and START_HOUR <= now.hour < END_HOUR def generate_insight(topic):