mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-11 17:06:36 +08:00
Remove unused replace_folder function.
This commit is contained in:
parent
ffaf78cf97
commit
5af7a9ef61
@ -174,12 +174,6 @@ def add_model_folder_path(folder_name: str, full_folder_path: str) -> None:
|
|||||||
else:
|
else:
|
||||||
folder_names_and_paths[folder_name] = ([full_folder_path], set())
|
folder_names_and_paths[folder_name] = ([full_folder_path], set())
|
||||||
|
|
||||||
def replace_folder_path(folder_name: str, full_folder_path: str) -> None:
|
|
||||||
global folder_names_and_paths
|
|
||||||
folder_name = map_legacy(folder_name)
|
|
||||||
if folder_name in folder_names_and_paths:
|
|
||||||
folder_names_and_paths[folder_name] = full_folder_path
|
|
||||||
|
|
||||||
|
|
||||||
def get_folder_paths(folder_name: str) -> list[str]:
|
def get_folder_paths(folder_name: str) -> list[str]:
|
||||||
folder_name = map_legacy(folder_name)
|
folder_name = map_legacy(folder_name)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user