From 07cee82e4d173f7a2bbf397ba37fea3709ea07c6 Mon Sep 17 00:00:00 2001 From: yueliang <2567830152@qq.com> Date: Sat, 2 Nov 2024 00:27:31 +0800 Subject: [PATCH] fixed bug --- nodes/imagesSave.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nodes/imagesSave.py b/nodes/imagesSave.py index 2f6c09c..8848e8d 100644 --- a/nodes/imagesSave.py +++ b/nodes/imagesSave.py @@ -34,6 +34,8 @@ class ImagesSave: count = 0 global file_name_num_start + if len(os.listdir(output_path)) == 0: + file_name_num_start = 0 with ThreadPoolExecutor() as executor: futures = [] for image in images: