Fix trailing whitespace (flake8 error)

This commit is contained in:
Jasmin Bom 2019-04-05 20:03:44 +02:00
parent 474ff8ae41
commit 984bea16d1

View file

@ -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: