Fix missing await

This commit is contained in:
Dan Elkouby 2018-06-17 17:54:33 +00:00
parent b34b1c516f
commit 23971d8a6a
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ class Uniborg(TelegramClient):
async def _reconnect_nofail(self): async def _reconnect_nofail(self):
while True: while True:
try: try:
self.connect() await self.connect()
except ConnectionError: except ConnectionError:
pass pass