diff --git a/uniborg/uniborg.py b/uniborg/uniborg.py index ce3e12d..d40ebdb 100644 --- a/uniborg/uniborg.py +++ b/uniborg/uniborg.py @@ -55,7 +55,7 @@ class Uniborg(TelegramClient): async def _reconnect_nofail(self): while True: try: - self.connect() + await self.connect() except ConnectionError: pass