From 647f967b2d8f35d920710a7842e9ad73fbdc146f Mon Sep 17 00:00:00 2001 From: Sergio Oliveira Date: Tue, 5 Nov 2013 15:36:49 -0200 Subject: [PATCH] Fixing previous commit --- src/accounts/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/accounts/models.py b/src/accounts/models.py index 6e7f532..1d167fd 100644 --- a/src/accounts/models.py +++ b/src/accounts/models.py @@ -38,9 +38,9 @@ class User(AbstractUser): try: lists = requests.get(settings.MAILMAN_API_URL, timeout=1, params={'address': email}) + list_set.update(lists.json()) except requests.exceptions.Timeout: pass - list_set.update(lists.json()) return tuple(list_set) -- libgit2 0.21.2