mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-11-05 23:18:53 -05:00
fix: flake8
This commit is contained in:
parent
a02e0a8a66
commit
d1fda05fdc
@ -146,7 +146,7 @@ def edit_subtitle(request):
|
|||||||
if not filename.endswith(".vtt"):
|
if not filename.endswith(".vtt"):
|
||||||
filename = f"{filename}.vtt"
|
filename = f"{filename}.vtt"
|
||||||
|
|
||||||
response["Content-Disposition"] = f"attachment; filename={filename}" # flake8: noqa
|
response["Content-Disposition"] = f"attachment; filename={filename}" # noqa
|
||||||
|
|
||||||
return response
|
return response
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user