Update Utils.py

This commit is contained in:
XchanBik
2025-05-16 00:06:07 +02:00
committed by GitHub
parent b9e8be873c
commit 5a67c6c2fb
+1 -1
View File
@@ -22,7 +22,7 @@ def get_files_with_ext(folder_name: str, extension: str) -> list[str]:
if not os.path.isdir(full_scan_path):
logging.warning(f"[SimpleTextFileSelector] Target subfolder for .txt files not found: {full_scan_path}. "
f"(This path is 'user_models_dir' / '{target_subfolder_name}')")
f"(This path is 'user_models_dir' / '{folder_name}')")
return ["None"] # ComfyUI dropdowns expect a list; "None" is a safe default.
txt_files_found = []