fix set --input
This commit is contained in:
parent
18a2498688
commit
a899dd3c08
@ -443,7 +443,7 @@ def set_input_photo():
|
|||||||
return send_file(
|
return send_file(
|
||||||
input_image_path,
|
input_image_path,
|
||||||
as_attachment=True,
|
as_attachment=True,
|
||||||
attachment_filename=Path(input_image_path).name,
|
download_name=Path(input_image_path).name,
|
||||||
mimetype=f"image/{get_image_ext(image_in_bytes)}",
|
mimetype=f"image/{get_image_ext(image_in_bytes)}",
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user