Fix StopTransmission in asyncio by inheriting from StopAsyncIteration
Instead of StopIteration
This commit is contained in:
parent
7f7f9768fd
commit
29940fbc66
@ -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 New Issue
Block a user