fix error in error handler

This commit is contained in:
Tomáš Mládek 2018-09-02 19:59:11 +02:00 committed by Tomáš Mládek
parent 4f7c84c54c
commit 7cd8a640b3

View file

@ -184,7 +184,7 @@ def error(bot, update, error):
if "Timed out" in error:
if update is not None:
update.message.reply_text("Now for realz tho")
handle_rest(bot, update)
handle_rest(bot, update)
else:
if update is not None:
update.message.reply_text("Something is fucked: %s" % error)