mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-10 14:20:49 +08:00
fix issue when trying to write to a file that already exists
This commit is contained in:
parent
f576f8124a
commit
a464dfa3db
@ -742,7 +742,7 @@ class SaveImagesResponse(CustomNode):
|
||||
|
||||
except Exception as e:
|
||||
logging.error(f"Error while trying to save file with fsspec_url {uri}", exc_info=e)
|
||||
abs_path = os.path.abspath(local_path)
|
||||
abs_path = "" if local_path is None else os.path.abspath(local_path)
|
||||
|
||||
if is_null_uri(local_path):
|
||||
filename_for_ui = ""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user