diff --git a/cm-cli.py b/cm-cli.py index dae1110..2e78f0e 100644 --- a/cm-cli.py +++ b/cm-cli.py @@ -123,6 +123,8 @@ def install_deps(): else: # disabled core.gitclone_set_active([k], False) + print("Dependency installation and activation complete.") + def restore_snapshot(snapshot_name): global processed_install @@ -532,17 +534,14 @@ def deps_in_workflow(): print(f"missing arguments: --workflow ") exit(-1) elif not os.path.exists(input_path): - print(f"File not founed: {input_path}") + print(f"File not found: {input_path}") exit(-1) - if output_path is None: print(f"missing arguments: --output ") exit(-1) - print(f"{input_path}, {output_path}") - - used_exts, unknown_nodes = asyncio.run(core.extract_nodes_from_workflow(input_path)) + used_exts, unknown_nodes = asyncio.run(core.extract_nodes_from_workflow(input_path, mode=mode, channel_url=channel)) custom_nodes = {} for x in used_exts: diff --git a/glob/manager_core.py b/glob/manager_core.py index 517417f..db20bea 100644 --- a/glob/manager_core.py +++ b/glob/manager_core.py @@ -598,6 +598,9 @@ def is_file_created_within_one_day(file_path): async def get_data_by_mode(mode, filename, channel_url=None): + if channel_url in get_channel_dict(): + channel_url = get_channel_dict()[channel_url] + try: if mode == "local": uri = os.path.join(comfyui_manager_path, filename)