PEP8: Forgot a few binops

This commit is contained in:
Théophile Bastian 2016-07-09 23:26:02 +01:00
parent 6d68f6638f
commit 483ddf0f86
6 changed files with 17 additions and 18 deletions

View file

@ -7,8 +7,8 @@ from django.apps import apps
def export(qs, fields=None):
model = qs.model
response = HttpResponse(content_type='text/csv')
response['Content-Disposition'] = 'attachment; filename=%s.csv' %\
slugify(model.__name__)
response['Content-Disposition'] = 'attachment; filename=%s.csv' \
% slugify(model.__name__)
writer = csv.writer(response)
# Write headers to CSV file
if fields: