maybe fix error?

This commit is contained in:
Tomáš Mládek 2018-09-02 20:06:27 +02:00 committed by Tomáš Mládek
parent 1403711bb0
commit 6a0dc0b00b

View file

@ -181,7 +181,7 @@ def start(bot, update):
def error(bot, update, error):
logger.error(error)
if "Timed out" in error:
if "Timed out" in str(error):
if update is not None:
update.message.reply_text("Now for realz tho")
handle_rest(bot, update)