Skip to content

Commit

Permalink
Ignore issue raised by flake8-bugbear
Browse files Browse the repository at this point in the history
  • Loading branch information
browniebroke committed Oct 16, 2024
1 parent f86662f commit 5ec6e3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drf_excel/mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ def finalize_response(self, request, response, *args, **kwargs):
and response.accepted_renderer.format == "xlsx"
):
response["content-disposition"] = (
f"attachment; filename={escape_uri_path(self.get_filename(request=request, *args, **kwargs))}"
f"attachment; filename={escape_uri_path(self.get_filename(request=request, *args, **kwargs))}" # noqa: B026
)
return response

0 comments on commit 5ec6e3e

Please sign in to comment.