Unnecessary elif after raise
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
bf2b2283f5
commit
de585a23b2
1 changed files with 1 additions and 1 deletions
|
@ -413,7 +413,7 @@ class XEP_0384(BasePlugin):
|
|||
except (omemo.exceptions.TrustException,) as exn:
|
||||
if exn.problem == 'undecided':
|
||||
raise UndecidedException(exn.bare_jid, exn.device, exn.ik)
|
||||
elif exn.problem == 'untrusted':
|
||||
if exn.problem == 'untrusted':
|
||||
raise UntrustedException(exn.bare_jid, exn.device, exn.ik)
|
||||
raise
|
||||
finally:
|
||||
|
|
Loading…
Reference in a new issue