From f88bfb23f53b2e773d83ded1dff6c1473dcce242 Mon Sep 17 00:00:00 2001 From: aidec Date: Sat, 4 Oct 2025 14:48:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E9=8C=AF=E8=AA=A4=EF=BC=8C?= =?UTF-8?q?=E5=B0=91=E6=89=93=E4=B8=80=E5=80=8B=E5=86=92=E8=99=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/textbatch/nodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/textbatch/nodes.py b/modules/textbatch/nodes.py index edf30e2..1cb57a8 100644 --- a/modules/textbatch/nodes.py +++ b/modules/textbatch/nodes.py @@ -888,7 +888,7 @@ class ImageFilenameProcessor: return ("", "", "", "", 0, "錯誤:沒有輸入檔名") # 分割檔名列表 - if '\n' in filenames + if '\n' in filenames: path_list = [f.strip() for f in filenames.split("\n") if f.strip()] else path_list = [f.strip() for f in filenames.split(",") if f.strip()]