From 7169c416b815bf704ad8dc378200f37ebc8290a6 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 4 Dec 2018 10:40:25 +0000 Subject: [PATCH] 3 characters --- telegrambot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telegrambot.py b/telegrambot.py index 9cf877f1..5aaf187a 100644 --- a/telegrambot.py +++ b/telegrambot.py @@ -257,7 +257,7 @@ def cmd_vote(bot: Bot, update: Update): parse_mode="HTML") vote.message_id = message.message_id session.commit() - except Exception as e: + except Exception: raise finally: session.close()