mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-09 04:35:25 +03:00
fix lint
This commit is contained in:
parent
fad079fc49
commit
d7f1e2f95c
@ -977,9 +977,9 @@ def event_snapshot_clean(id):
|
||||
response.headers["Content-Type"] = "image/png"
|
||||
response.headers["Cache-Control"] = "private, max-age=31536000"
|
||||
if download:
|
||||
response.headers[
|
||||
"Content-Disposition"
|
||||
] = f"attachment; filename=snapshot-{id}-clean.png"
|
||||
response.headers["Content-Disposition"] = (
|
||||
f"attachment; filename=snapshot-{id}-clean.png"
|
||||
)
|
||||
return response
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user