diff --git a/pyrogram/session/session.py b/pyrogram/session/session.py index 34e892e0..fb3b5594 100644 --- a/pyrogram/session/session.py +++ b/pyrogram/session/session.py @@ -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()