Skip to content

Commit 189b6d3

Browse files
committed
Fix falke8 syntax issue
1 parent d6233e6 commit 189b6d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pictures/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def placeholder(request, width, ratio, file_type, alt):
1818
img = utils.placeholder(width, height, alt=alt)
1919
response = HttpResponse(
2020
content_type=f"image/{file_type.lower()}",
21-
headers={"Cache-Control": f"public, max-age={60*60*24*365}"},
21+
headers={"Cache-Control": f"public, max-age={60 * 60 * 24 * 365}"}, # 1 year
2222
)
2323
img.save(response, file_type.upper())
2424
return response

0 commit comments

Comments
 (0)