mirror of
https://git.datalinker.icu/ltdrdata/ComfyUI-Manager
synced 2025-12-09 06:04:31 +08:00
fix: import error - cnr_utils.extract_package_as_zip
This commit is contained in:
parent
87d447f7b5
commit
e4bb21f25c
@ -876,7 +876,7 @@ class UnifiedManager:
|
||||
|
||||
# 2. extract files into <node_id>@<cur_ver>
|
||||
install_path = self.active_nodes[node_id][1]
|
||||
extracted = cnr_utils.extract_package_as_zip(download_path, install_path)
|
||||
extracted = manager_util.extract_package_as_zip(download_path, install_path)
|
||||
os.remove(download_path)
|
||||
|
||||
if extracted is None:
|
||||
@ -1144,7 +1144,7 @@ class UnifiedManager:
|
||||
|
||||
manager_util.download_url(node_info.download_url, get_default_custom_nodes_path(), archive_name)
|
||||
os.makedirs(install_path, exist_ok=True)
|
||||
extracted = cnr_utils.extract_package_as_zip(download_path, install_path)
|
||||
extracted = manager_util.extract_package_as_zip(download_path, install_path)
|
||||
os.remove(download_path)
|
||||
result.to_path = install_path
|
||||
|
||||
|
||||
@ -618,7 +618,7 @@ export class CustomNodesManager {
|
||||
},
|
||||
|
||||
"switch": {
|
||||
label: "Switch",
|
||||
label: "Switch Ver",
|
||||
mode: "switch"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user