base_dir to base_path

This commit is contained in:
nullquant
2024-05-13 18:16:15 +03:00
committed by GitHub
parent a56b5f0cd6
commit 1f97b57f5d
+1 -1
View File
@@ -583,7 +583,7 @@ def get_files_with_extension(folder_name, extension=['safetensors']):
inpaint_path = os.path.join(folder_paths.models_dir, folder_name)
if not os.path.isdir(inpaint_path):
inpaint_path = os.path.join(folder_paths.base_dir, inpaint_path)
inpaint_path = os.path.join(folder_paths.base_path, inpaint_path)
if not os.path.isdir(inpaint_path):
raise Exception("Can't find", folder_name, " path")