This commit is contained in:
Aevann1 2021-12-26 06:03:58 +02:00
parent 5ef3fb4456
commit 4d67c3d815

View file

@ -24,4 +24,4 @@ def process_image(filename=None, resize=False):
if i.format.lower() == "gif": gifwebp(input_image=filename, output_image=filename, option="-q 80")
else: i.save(filename, format="WEBP")
return filename
return f'/static{filename}'