diff --git a/allauth_ens/utils.py b/allauth_ens/utils.py index 02d4c10..7da3c6c 100644 --- a/allauth_ens/utils.py +++ b/allauth_ens/utils.py @@ -116,8 +116,7 @@ def remove_email(user, email): # Prefer a verified mail. new_primary = ( - others.filter(verified=True).last() or - others.last() + others.filter(verified=True).last() or others.last() ) if new_primary: