xep_0384: rename variable to remove linting warning
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
032469a05f
commit
99fdb6e3fc
1 changed files with 2 additions and 2 deletions
|
@ -410,8 +410,8 @@ class XEP_0384(BasePlugin):
|
||||||
expect_problems=expect_problems,
|
expect_problems=expect_problems,
|
||||||
)
|
)
|
||||||
return _generate_encrypted_payload(encrypted)
|
return _generate_encrypted_payload(encrypted)
|
||||||
except omemo.exceptions.EncryptionProblemsException as e:
|
except omemo.exceptions.EncryptionProblemsException as exn:
|
||||||
errors = e.problems
|
errors = exn.problems
|
||||||
|
|
||||||
if errors == old_errors:
|
if errors == old_errors:
|
||||||
raise EncryptionPrepareException(errors)
|
raise EncryptionPrepareException(errors)
|
||||||
|
|
Loading…
Reference in a new issue