diff --git a/bulk_grades/views.py b/bulk_grades/views.py index 5fe5bdc..a5da8e5 100644 --- a/bulk_grades/views.py +++ b/bulk_grades/views.py @@ -69,7 +69,7 @@ def get(self, request, course_id, *args, **kwargs): filename = self.get_export_filename(course_id) response = StreamingHttpResponse(iterator, content_type='text/csv') - response['Content-Disposition'] = f'attachment; filename="{filename}"' # noqa + response['Content-Disposition'] = f'attachment; filename="{filename}"' # pylint: multiple-statements log.info('Exporting %s CSV for %s', course_id, self.__class__) return response