1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Edit confused notice.

This commit is contained in:
eternnoir 2015-07-12 19:03:41 +08:00
parent 7144c79efe
commit 913f01dfe8

View File

@ -144,9 +144,9 @@ class TeleBot:
try:
self.get_update()
except Exception as e:
print("TeleBot: Exception occurred. Stopping.")
if not none_stop:
self.__stop_polling = True
print("TeleBot: Exception occurred. Stopping.")
print(e)
print('TeleBot: Stopped polling.')