Fix UnboundLocalError for variable 'retry'
This commit is contained in:
parent
6714089bdd
commit
9c068ad600
2 changed files with 3 additions and 3 deletions
|
@ -1,2 +1,2 @@
|
|||
__version__ = '0.1.88'
|
||||
__version_info__ = (0, 1, 88)
|
||||
__version__ = '0.1.89'
|
||||
__version_info__ = (0, 1, 89)
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue