fix else statement
This commit is contained in:
@@ -123,7 +123,8 @@ class Interface(PrintError):
|
|||||||
os.fsync(f.fileno())
|
os.fsync(f.fileno())
|
||||||
break
|
break
|
||||||
await asyncio.sleep(1)
|
await asyncio.sleep(1)
|
||||||
assert False, "could not get certificate"
|
else:
|
||||||
|
assert False, "could not get certificate"
|
||||||
|
|
||||||
async def get_certificate(self):
|
async def get_certificate(self):
|
||||||
sslc = ssl.SSLContext()
|
sslc = ssl.SSLContext()
|
||||||
|
|||||||
Reference in New Issue
Block a user