Fix typo when using force_save_path

This commit is contained in:
cmdr2 2023-08-31 22:11:42 +05:30
parent 71bbbeb936
commit f02b915cd0

View File

@ -272,7 +272,7 @@ def render_internal(req: dict):
# Overwrite user specified save path
config = app.getConfig()
if "force_save_path" in config:
task_data.save_to_disk_path = config["force_save_path"]
save_data.save_to_disk_path = config["force_save_path"]
render_req.init_image_mask = req.get("mask") # hack: will rename this in the HTTP API in a future revision