summaryrefslogtreecommitdiff
path: root/slixmpp/xmlstream
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2022-03-19 00:04:56 +0100
committermathieui <mathieui@mathieui.net>2022-03-19 00:04:56 +0100
commit4202ed4cd521100e443aebf142dbaf111ba568c0 (patch)
tree135364ba163cd96f60e0f4b636eda19694add9a5 /slixmpp/xmlstream
parentad610c7dedaa0279550fba6e4267944d00fd834f (diff)
downloadslixmpp-4202ed4cd521100e443aebf142dbaf111ba568c0.tar.gz
slixmpp-4202ed4cd521100e443aebf142dbaf111ba568c0.tar.bz2
slixmpp-4202ed4cd521100e443aebf142dbaf111ba568c0.tar.xz
slixmpp-4202ed4cd521100e443aebf142dbaf111ba568c0.zip
Fix mypy in CI
Diffstat (limited to 'slixmpp/xmlstream')
-rw-r--r--slixmpp/xmlstream/xmlstream.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/slixmpp/xmlstream/xmlstream.py b/slixmpp/xmlstream/xmlstream.py
index 7b362203..9077f23c 100644
--- a/slixmpp/xmlstream/xmlstream.py
+++ b/slixmpp/xmlstream/xmlstream.py
@@ -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))