Commit 647f967b2d8f35d920710a7842e9ad73fbdc146f
1 parent
de0130e0
Exists in
master
and in
39 other branches
Fixing previous commit
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/accounts/models.py
... | ... | @@ -38,9 +38,9 @@ class User(AbstractUser): |
38 | 38 | try: |
39 | 39 | lists = requests.get(settings.MAILMAN_API_URL, timeout=1, |
40 | 40 | params={'address': email}) |
41 | + list_set.update(lists.json()) | |
41 | 42 | except requests.exceptions.Timeout: |
42 | 43 | pass |
43 | - list_set.update(lists.json()) | |
44 | 44 | |
45 | 45 | return tuple(list_set) |
46 | 46 | ... | ... |