fix flake8 standard problems
This commit is contained in:
1 parent
3754fa2542
commit
d4b3a42f94
6 files changed
+6
-6
No files matched your search
@@ -542,7 +542,7 @@ class ExportProblemAPI(APIView):
|
||||
delete_files.send_with_options(args=(path,), delay=300_000)
|
||||
resp = FileResponse(open(path, "rb"))
|
||||
resp["Content-Type"] = "application/zip"
|
||||
resp["Content-Disposition"] = f"attachment;filename=problem-export.zip"
|
||||
resp["Content-Disposition"] = "attachment;filename=problem-export.zip"
|
||||
return resp
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user