1
0
Fork 0

fix tests and linting

This commit is contained in:
Hugh Rundle 2023-10-22 17:26:27 +11:00
parent 0a2efeb5aa
commit 07ef12ce8e
No known key found for this signature in database
GPG key ID: A7E35779918253F9
7 changed files with 20 additions and 20 deletions

View file

@ -135,7 +135,7 @@ class ExportUser(View):
@method_decorator(login_required, name="dispatch")
class ExportArchive(View): # pylint: disable=line-too-long
class ExportArchive(View):
"""Serve the archive file"""
def get(self, request, archive_id):
@ -145,6 +145,6 @@ class ExportArchive(View): # pylint: disable=line-too-long
export.export_data,
content_type="application/gzip",
headers={
"Content-Disposition": 'attachment; filename="bookwyrm-account-export.tar.gz"'
"Content-Disposition": 'attachment; filename="bookwyrm-account-export.tar.gz"' # pylint: disable=line-too-long
},
)