summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorDmitrii Morozov <snoopdesigns@gmail.com>2024-05-09 21:06:13 +0200
committerDmitrii Morozov <snoopdesigns@gmail.com>2024-05-09 21:06:13 +0200
commit8c7cd39bbdf860e77888f550bae1eb9d50ca47bc (patch)
tree2bd8299948f814400b8dd6cf1db4ea2c9de553a5 /main.py
parent30b42356ab151090a51b5d1451a6ad9dbbacdddf (diff)
Fixed typo in record stats scheduler, disable exiting on telebot exception
Diffstat (limited to 'main.py')
-rwxr-xr-xmain.py2
1 files changed, 1 insertions, 1 deletions
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():