summaryrefslogtreecommitdiffstats
path: root/welco/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'welco/views.py')
-rw-r--r--welco/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/welco/views.py b/welco/views.py
index 2efa6f3..bcd284f 100644
--- a/welco/views.py
+++ b/welco/views.py
@@ -180,7 +180,7 @@ def create_formdata(request, *args, **kwargs):
qualif = Association.objects.get(id=kwargs.get('pk'))
try:
qualif.push(request)
- except Exception, e:
+ except Exception as e:
json.dump({'err': 1, 'msg': str(e)}, response)
return response
json.dump({'result': 'ok', 'url': qualif.formdata_url}, response)