mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-03-16 12:25:45 +01:00
parent
69bfb85298
commit
853d823964
1 changed files with 1 additions and 1 deletions
|
@ -48,5 +48,5 @@ class Promise(object):
|
|||
def result(self, timeout=None):
|
||||
self.done.wait(timeout=timeout)
|
||||
if self._exception is not None:
|
||||
raise self._exception
|
||||
raise self._exception # pylint: disable=raising-bad-type
|
||||
return self._result
|
||||
|
|
Loading…
Add table
Reference in a new issue