Edit confused notice.

This commit is contained in:
eternnoir 2015-07-12 19:03:41 +08:00
parent 4a3e989391
commit 292bb307f0
1 changed files with 1 additions and 1 deletions

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.')