From 4c64870d8f7d6534a23a051b094c04cbec67b4a6 Mon Sep 17 00:00:00 2001 From: Schimon Jehudah Date: Mon, 22 Jan 2024 13:29:14 +0000 Subject: [PATCH] Fix handling of document error --- slixfeed/xmpp/process.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slixfeed/xmpp/process.py b/slixfeed/xmpp/process.py index 2fe538c..a0b2697 100644 --- a/slixfeed/xmpp/process.py +++ b/slixfeed/xmpp/process.py @@ -514,7 +514,7 @@ async def message(self, message): response = ( "Failed to export {}. Reason: {}" ).format(ext.upper(), error) - else: + elif not error: url = await upload.start(self, jid, filename) await send_oob_message(self, jid, url) else: