diff options
author | mathieui <mathieui@mathieui.net> | 2022-03-19 00:04:56 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2022-03-19 00:04:56 +0100 |
commit | 4202ed4cd521100e443aebf142dbaf111ba568c0 (patch) | |
tree | 135364ba163cd96f60e0f4b636eda19694add9a5 | |
parent | ad610c7dedaa0279550fba6e4267944d00fd834f (diff) | |
download | slixmpp-4202ed4cd521100e443aebf142dbaf111ba568c0.tar.gz slixmpp-4202ed4cd521100e443aebf142dbaf111ba568c0.tar.bz2 slixmpp-4202ed4cd521100e443aebf142dbaf111ba568c0.tar.xz slixmpp-4202ed4cd521100e443aebf142dbaf111ba568c0.zip |
Fix mypy in CI
-rw-r--r-- | slixmpp/xmlstream/xmlstream.py | 2 |
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)) |