From d6d0dec6e0e8b647d140dfb74db66ecb1d00a61d Mon Sep 17 00:00:00 2001 From: dbxnr Date: Tue, 2 Oct 2018 10:29:30 +0100 Subject: [PATCH] remove extra else clause (#1239) Fix #1236 --- telegram/ext/conversationhandler.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/telegram/ext/conversationhandler.py b/telegram/ext/conversationhandler.py index b1cf8857b..9e3cf49dc 100644 --- a/telegram/ext/conversationhandler.py +++ b/telegram/ext/conversationhandler.py @@ -267,8 +267,7 @@ class ConversationHandler(Handler): return True - else: - return False + return False self.logger.debug('selecting conversation %s with state %s' % (str(key), str(state)))