Skip to content

Commit

Permalink
pep8 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
grischa committed Feb 3, 2015
1 parent 8b806d1 commit 7244d31
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tardis/tardis_portal/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,9 @@ def fetch_facility_data_count(request, facility_id):
instrument__facility__manager_group__user=request.user,
instrument__facility__id=facility_id
).count()
return HttpResponse(json.dumps({"facility_data_count": dataset_object_count}),
mimetype='application/json')
return HttpResponse(
json.dumps({'facility_data_count': dataset_object_count}),
mimetype='application/json')


@never_cache
Expand Down

0 comments on commit 7244d31

Please sign in to comment.