fix else statement

This commit is contained in:
ThomasV 2018-08-17 14:51:02 +02:00 committed by SomberNight
parent 89a01a6463
commit c53caecd1e
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9

View file

@ -123,7 +123,8 @@ class Interface(PrintError):
os.fsync(f.fileno())
break
await asyncio.sleep(1)
assert False, "could not get certificate"
else:
assert False, "could not get certificate"
async def get_certificate(self):
sslc = ssl.SSLContext()