diff options
Diffstat (limited to 'conductor/conductor/api/middleware.py')
-rw-r--r-- | conductor/conductor/api/middleware.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/conductor/conductor/api/middleware.py b/conductor/conductor/api/middleware.py index a04ea30..69b6264 100644 --- a/conductor/conductor/api/middleware.py +++ b/conductor/conductor/api/middleware.py @@ -159,7 +159,7 @@ class ParsableErrorMiddleware(object): if six.PY3: app_data = app_data.decode('utf-8') try: - fault = json.loads(app_data) + fault = list(json.loads(app_data)) if error is not None and 'faultstring' in fault: fault['faultstring'] = i18n.translate(error, user_locale) |