From 6a0dc0b00be94b3ac4c0a48eb89bfa3438643a8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Sun, 2 Sep 2018 20:06:27 +0200 Subject: [PATCH] maybe fix error? --- delojza.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/delojza.py b/delojza.py index 9a0ca0a..7fe5caf 100755 --- a/delojza.py +++ b/delojza.py @@ -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)