Skip to content

Commit c9ca309

Browse files
committed
Fix B026 warning
1 parent fb61e33 commit c9ca309

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drf_excel/mixins.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def finalize_response(self, request, response, *args, **kwargs):
2626
isinstance(response, Response)
2727
and response.accepted_renderer.format == "xlsx"
2828
):
29-
filename = self.get_filename(request=request, *args, **kwargs) # noqa: B026
29+
filename = self.get_filename(request, *args, **kwargs)
3030
response["content-disposition"] = (
3131
f"attachment; filename={escape_uri_path(filename)}"
3232
)

0 commit comments

Comments
 (0)