Make flake8 happy
This commit is contained in:
parent
a30d3866c5
commit
884020cc20
1 changed files with 1 additions and 2 deletions
|
@ -116,8 +116,7 @@ def remove_email(user, email):
|
||||||
|
|
||||||
# Prefer a verified mail.
|
# Prefer a verified mail.
|
||||||
new_primary = (
|
new_primary = (
|
||||||
others.filter(verified=True).last() or
|
others.filter(verified=True).last() or others.last()
|
||||||
others.last()
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if new_primary:
|
if new_primary:
|
||||||
|
|
Loading…
Reference in a new issue