From 5b48e28d8bb70ec91ac4943337809f789187deda Mon Sep 17 00:00:00 2001 From: Irtaza Akram Date: Tue, 20 Feb 2024 12:25:12 +0500 Subject: [PATCH] fix: import error --- bulk_grades/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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