Remove unnecessary log and trailing whitespace

This commit is contained in:
Lonami 2018-10-28 10:52:14 +01:00 committed by GitHub
parent c6c241d4c8
commit 6ab3402a94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -216,8 +216,6 @@ class MTProtoSender:
except (ConnectionError, asyncio.TimeoutError) as e:
__log__.warning('Attempt {} at connecting failed: {}: {}'
.format(retry, type(e).__name__, e))
__log__.warning('Sleeping for {} seconds on failed attempt {}:'
.format(self._delay,retry))
await asyncio.sleep(self._delay)
else:
break