From 6d75d02822bc3e9159afcd8bacb46226c52cffef Mon Sep 17 00:00:00 2001 From: Schimon Jehudah Date: Wed, 13 Mar 2024 13:28:32 +0000 Subject: [PATCH] Fix async/await (Thank you roughnecks) --- slixfeed/xmpp/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slixfeed/xmpp/client.py b/slixfeed/xmpp/client.py index d95f772..5493ecb 100644 --- a/slixfeed/xmpp/client.py +++ b/slixfeed/xmpp/client.py @@ -286,7 +286,7 @@ class Slixfeed(slixmpp.ClientXMPP): difference)) - def on_session_resumed(self, event): + async def on_session_resumed(self, event): time_begin = time.time() function_name = sys._getframe().f_code.co_name message_log = '{}'