From 23971d8a6a7d551205aec4ee42c54aa965ab3553 Mon Sep 17 00:00:00 2001 From: Dan Elkouby Date: Sun, 17 Jun 2018 17:54:33 +0000 Subject: [PATCH] Fix missing await --- uniborg/uniborg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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