mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-03 14:04:51 +00:00
Fix StopTransmission in asyncio by inheriting from StopAsyncIteration
Instead of StopIteration
This commit is contained in:
parent
7f7f9768fd
commit
29940fbc66
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ from ...session.internals import MsgId
|
|||
|
||||
|
||||
class BaseClient:
|
||||
class StopTransmission(StopIteration):
|
||||
class StopTransmission(StopAsyncIteration):
|
||||
pass
|
||||
|
||||
APP_VERSION = "Pyrogram \U0001f525 {}".format(__version__)
|
||||
|
|
|
|||
Loading…
Reference in a new issue