Skip to content

Commit

Permalink
Fix star arg usage
Browse files Browse the repository at this point in the history
  • Loading branch information
yalef committed Nov 27, 2023
1 parent b5cb24e commit 9f5164c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion import_export_extensions/admin/mixins/export_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,9 @@ def celery_export_action(self, request, *args, **kwargs):
resources=self.get_export_resource_classes(),
)
resource_kwargs = self.get_export_resource_kwargs(
request=request,
*args,
**kwargs,
request=request,
)
if request.method == "POST" and form.is_valid():
file_format = formats[int(form.cleaned_data["file_format"])]
Expand Down
2 changes: 1 addition & 1 deletion import_export_extensions/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,9 @@ def export(
queryset=queryset,
)
return super().export( # type: ignore
queryset=queryset,
*args,
**kwargs,
queryset=queryset,
)

def export_resource(self, obj):
Expand Down

0 comments on commit 9f5164c

Please sign in to comment.