prevent partition error

This commit is contained in:
aria1th
2025-01-30 00:54:53 +09:00
parent f199fde35c
commit 079d9a1e59
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -14,6 +14,7 @@ from .imgio.converter import PILHandlingHodes
from .autonode import node_wrapper, get_node_names_mappings, validate, anytype, PILImage
import time
import os
import shutil
from PIL import Image
from PIL import ImageOps
from PIL import ImageEnhance
@@ -330,7 +331,8 @@ class SaveImageWebpCustomNode:
if piexif_loaded:
piexif.insert(exif_bytes, tmp_path)
final_path = os.path.join(full_output_folder, file)
os.rename(tmp_path, final_path)
shutil.copy2(tmp_path, final_path)
os.remove(tmp_path)
results.append({
"filename": os.path.join(full_output_folder, file),
+1 -1
View File
@@ -1,7 +1,7 @@
[project]
name = "comfyui-logicutils"
description = "Logical Utils (compare, string, boolean operations) for ComfyUI"
version = "1.6.1"
version = "1.6.2"
license = "MIT"
[project.urls]