summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2015-11-17 14:30:48 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2015-11-17 14:30:48 (GMT)
commit39a6382bbaa072bce76ebb29b1bcc935964346ce (patch)
treea468946830f36a91d3cff7cc08a84b96907beb7c
parenteecbc602f91b24116c5a00f64b6ac35e8124e7bf (diff)
downloadwelco-0.5.zip
welco-0.5.tar.gz
welco-0.5.tar.bz2
misc: give more time for the user to arrive in wcsv0.5
-rw-r--r--welco/contacts/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/welco/contacts/views.py b/welco/contacts/views.py
index 4f410e0..9928010 100644
--- a/welco/contacts/views.py
+++ b/welco/contacts/views.py
@@ -129,7 +129,7 @@ class ContactAdd(FormView):
auth=settings.AUTHENTIC_AUTH_TUPLE)
user_uuid = authentic_response.json().get('uuid')
- for i in range(20):
+ for i in range(50):
try:
user_details = get_wcs_data('api/users/%s/' % user_uuid)
result = {'data': {'user_id': user_details.get('id')}}