X Tutup
Skip to content

Commit 853d823

Browse files
committed
🚨 promise.py: remove pylint warning
python-telegram-bot#529
1 parent 69bfb85 commit 853d823

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

telegram/utils/promise.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,5 @@ def __call__(self):
4848
def result(self, timeout=None):
4949
self.done.wait(timeout=timeout)
5050
if self._exception is not None:
51-
raise self._exception
51+
raise self._exception # pylint: disable=raising-bad-type
5252
return self._result

0 commit comments

Comments
 (0)
X Tutup