mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-18 13:34:54 +00:00
Add missing await
This commit is contained in:
parent
cc7901adf8
commit
38442bf3c1
@ -147,7 +147,7 @@ class Session:
|
||||
log.info("System: {} ({})".format(self.client.system_version, self.client.lang_code.upper()))
|
||||
|
||||
except AuthKeyDuplicated as e:
|
||||
self.stop()
|
||||
await self.stop()
|
||||
raise e
|
||||
except (OSError, TimeoutError, Error):
|
||||
await self.stop()
|
||||
|
Loading…
Reference in New Issue
Block a user