fixing the original TypeError

master
b3yond 2018-12-31 15:33:50 +01:00
parent be568b7827
commit 96b4975b1f
1 changed files with 2 additions and 2 deletions

View File

@ -25,9 +25,9 @@ class TelegramBot(Bot):
return reports
if isinstance(update, int):
try:
logger.error("City " + user.uid +
logger.error("City " + str(user.uid) +
": Unknown Telegram error code: " +
str(update) + " - " + updates[1])
str(update) + " - " + str(updates[1]))
except TypeError:
logger.error("Unknown Telegram error code: " + str(update))
return reports