Fix cancellation of custom conversation events from d474458

This commit is contained in:
Lonami Exo 2018-11-08 10:08:41 +01:00
parent cdbd1f6193
commit f6bc80bc6b

View File

@ -372,7 +372,7 @@ class Conversation(ChatGetter):
else:
pending.cancel()
for _, fut, _ in self._custom:
for _, fut in self._custom:
if exception:
fut.set_exception(exception)
else: