Skip to content
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.

Commit

Permalink
fixed code quit during errors
Browse files Browse the repository at this point in the history
code works even after getting error
it just skips the error part and continues to poll input from user
  • Loading branch information
Philotheephilix authored Apr 30, 2023
1 parent 904ec9f commit 499022e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion multi_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,4 @@ def city(message):
bot.send_message(message.chat.id, gw)
bot.send_message(message.chat.id, sr)
bot.send_message(message.chat.id, st)
bot.polling()
bot.infinity_polling()

0 comments on commit 499022e

Please sign in to comment.