From 8c7cd39bbdf860e77888f550bae1eb9d50ca47bc Mon Sep 17 00:00:00 2001 From: Dmitrii Morozov Date: Thu, 9 May 2024 21:06:13 +0200 Subject: Fixed typo in record stats scheduler, disable exiting on telebot exception --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.py') diff --git a/main.py b/main.py index bb1ae38..62b2b43 100755 --- a/main.py +++ b/main.py @@ -52,7 +52,7 @@ async def run_record_stats(): while True: t = time.localtime() if t.tm_hour == 5: # only at 05:00 - await recordStatsCommand.handle(None) + await record_stats_command.handle(None) await asyncio.sleep(60 * 60) # 1 hour async def run_all(): -- cgit v1.2.3