xep_0384: rename variable to remove linting warning

Signed-off-by: Maxime Buquet's avatarMaxime “pep” Buquet <pep@bouah.net>
parent 032469a0
......@@ -410,8 +410,8 @@ class XEP_0384(BasePlugin):
expect_problems=expect_problems,
)
return _generate_encrypted_payload(encrypted)
except omemo.exceptions.EncryptionProblemsException as e:
errors = e.problems
except omemo.exceptions.EncryptionProblemsException as exn:
errors = exn.problems
if errors == old_errors:
raise EncryptionPrepareException(errors)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment