Skip to content

Commit

Permalink
fix: error
Browse files Browse the repository at this point in the history
  • Loading branch information
irtazaakram committed Feb 20, 2024
1 parent f38e98f commit 95be756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bulk_grades/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}"' # pylint: disable=E702
response['Content-Disposition'] = f'attachment; filename="{filename}"' # pylint: disable=C0321

log.info('Exporting %s CSV for %s', course_id, self.__class__)
return response
Expand Down

0 comments on commit 95be756

Please sign in to comment.