mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-31 04:44:50 +00:00
Add missing await
This commit is contained in:
parent
cc7901adf8
commit
38442bf3c1
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue