Merge branch 'fix-mypy' into 'master'
Fix mypy in CI See merge request poezio/slixmpp!191
This commit is contained in:
commit
abd699593f
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