Fix mypy in CI
This commit is contained in:
parent
ad610c7ded
commit
4202ed4cd5
1 changed files with 1 additions and 1 deletions
|
@ -526,7 +526,7 @@ class XMLStream(asyncio.BaseProtocol):
|
|||
else:
|
||||
self.loop.run_until_complete(self.disconnected)
|
||||
else:
|
||||
tasks: List[Future] = [asyncio.sleep(timeout)]
|
||||
tasks: List[Awaitable] = [asyncio.sleep(timeout)]
|
||||
if not forever:
|
||||
tasks.append(self.disconnected)
|
||||
self.loop.run_until_complete(asyncio.wait(tasks))
|
||||
|
|
Loading…
Reference in a new issue