fix
This commit is contained in:
+7
-1
@@ -134,4 +134,10 @@ def handle_mess(message: Message):
|
||||
write(data)
|
||||
|
||||
# Start polling
|
||||
bot.polling(none_stop=True)
|
||||
while True:
|
||||
try:
|
||||
bot.polling(none_stop=True)
|
||||
except: KeyboardInterrupt:
|
||||
exit()
|
||||
except:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user