From 884020cc20311e79de964fef7e5aa1472e202af2 Mon Sep 17 00:00:00 2001 From: Evarin Date: Sun, 6 Jan 2019 12:08:07 +0100 Subject: [PATCH] Make flake8 happy --- allauth_ens/utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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: