Actually fix cancelling custom conversations from f6bc80b

This commit is contained in:
Lonami Exo 2018-11-12 08:21:18 +01:00
parent dfab8f5e20
commit 924b59d735

View File

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