Change variable name to make mypy happier
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
1ac08130ed
commit
b5faae0b23
1 changed files with 2 additions and 2 deletions
|
@ -592,8 +592,8 @@ class XEP_0384(BasePlugin):
|
|||
expect_problems=expect_problems,
|
||||
)
|
||||
return _generate_encrypted_payload(encrypted)
|
||||
except omemo.exceptions.EncryptionProblemsException as exn:
|
||||
errors = exn.problems
|
||||
except omemo.exceptions.EncryptionProblemsException as exception:
|
||||
errors = exception.problems
|
||||
|
||||
if errors == old_errors:
|
||||
raise EncryptionPrepareException(errors)
|
||||
|
|
Loading…
Reference in a new issue