From abedd82cf5614e3e72c2759888f2e5d16cb615ee Mon Sep 17 00:00:00 2001 From: bvn13 Date: Sat, 20 Jul 2024 09:01:26 +0300 Subject: [PATCH] fix --- src/main.py | 4 ++-- version | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.py b/src/main.py index 6cb85f2..f4f5d75 100644 --- a/src/main.py +++ b/src/main.py @@ -54,8 +54,8 @@ if __name__ == "__main__": schedule = Scheduler() schedule.cyclic(dt.timedelta(seconds=10), shkolniy_weather_job) else: - Scheduler(tzinfo=tz_msk) - schedule.daily(dt.time(hour=9, minute=0, tzinfo=tz_msk), shkolniy_weather_job) + schedule = Scheduler(tzinfo=tz_msk) + schedule.daily(dt.time(hour=9, minute=5, tzinfo=tz_msk), shkolniy_weather_job) logger.info(schedule) while True: schedule.exec_jobs() diff --git a/version b/version index a53741c..967b33f 100644 --- a/version +++ b/version @@ -1 +1 @@ -0.2.6 \ No newline at end of file +0.2.7 \ No newline at end of file