From 984bea16d197df950c7a752a3888932b0ecb86ad Mon Sep 17 00:00:00 2001 From: Jasmin Bom Date: Fri, 5 Apr 2019 20:03:44 +0200 Subject: [PATCH] Fix trailing whitespace (flake8 error) --- telegram/ext/conversationhandler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/telegram/ext/conversationhandler.py b/telegram/ext/conversationhandler.py index 5066cd06f..06f3e8a21 100644 --- a/telegram/ext/conversationhandler.py +++ b/telegram/ext/conversationhandler.py @@ -356,13 +356,13 @@ class ConversationHandler(Handler): def _trigger_timeout(self, context, job=None): self.logger.debug('conversation timeout was triggered!') - + # Backward compatibility with bots that do not use CallbackContext if isinstance(context, CallbackContext): context = context.job.context else: context = job.context - + del self.timeout_jobs[context.conversation_key] handlers = self.states.get(self.TIMEOUT, []) for handler in handlers: