From 9c068ad600e75953771495c9ac60f52073648c11 Mon Sep 17 00:00:00 2001 From: "Schimon Jehudah, Adv." Date: Sun, 7 Jul 2024 11:33:07 +0300 Subject: [PATCH] Fix UnboundLocalError for variable 'retry' --- slixfeed/version.py | 4 ++-- slixfeed/xmpp/encryption.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/slixfeed/version.py b/slixfeed/version.py index 9074bf5..6f60d2d 100644 --- a/slixfeed/version.py +++ b/slixfeed/version.py @@ -1,2 +1,2 @@ -__version__ = '0.1.88' -__version_info__ = (0, 1, 88) +__version__ = '0.1.89' +__version_info__ = (0, 1, 89) diff --git a/slixfeed/xmpp/encryption.py b/slixfeed/xmpp/encryption.py index bf59acf..99b2627 100644 --- a/slixfeed/xmpp/encryption.py +++ b/slixfeed/xmpp/encryption.py @@ -59,7 +59,7 @@ class XmppOmemo: response = message_body.decode('utf8') omemo_decrypted = True else: - response = omemo_decrypted = None + response = retry = omemo_decrypted = None except (MissingOwnKey,) as exn: # The message is missing our own key, it was not encrypted for # us, and we can't decrypt it.