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