mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-03 14:04:51 +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()))
|
log.info("System: {} ({})".format(self.client.system_version, self.client.lang_code.upper()))
|
||||||
|
|
||||||
except AuthKeyDuplicated as e:
|
except AuthKeyDuplicated as e:
|
||||||
self.stop()
|
await self.stop()
|
||||||
raise e
|
raise e
|
||||||
except (OSError, TimeoutError, Error):
|
except (OSError, TimeoutError, Error):
|
||||||
await self.stop()
|
await self.stop()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue