Skip to content

Commit

Permalink
[Fixes #2291] Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
damienallen committed Jul 5, 2016
1 parent 452bee2 commit 06bed9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion akvo/rest/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def eval_query_value(request, key):
queryset = getattr(queryset, param)(*args_or_kwargs)

except FieldError as e:
raise APIException("Error in request. Error msg:\n {message}".format(message=e.message))
raise APIException("Error in request: {message}".format(message=e.message))

# support for Q expressions, limited to OR-concatenated filtering
if request.QUERY_PARAMS.get('q_filter1', None):
Expand Down

0 comments on commit 06bed9d

Please sign in to comment.