mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-11-04 23:37:31 +00:00
[PR #1393] [MERGED] Fix NameError in get_custom_nodes_paths method #1882
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/ComfyUI-Manager#1882
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/ComfyUI-Manager/pull/1393
Author: @yhayano-ponotech
Created: 1/3/2025
Status: ✅ Merged
Merged: 1/4/2025
Merged by: @ltdrdata
Base:
main← Head:bugfix📝 Commits (1)
8e06e00Fix NameError in get_custom_nodes_paths method📊 Changes
1 file changed (+13 additions, -1 deletions)
View changed files
📝
cm-cli.py(+13 -1)📄 Description
Summary
Fixed an error in the
get_custom_nodes_pathsmethod where thefolder_pathsmodule could not be found.Changes Made
folder_pathsto theCtxclass.folder_pathsmodule in the__init__method.get_custom_nodes_pathsmethod to use the class variablefolder_paths.Reason for the Fix
The
get_custom_nodes_pathsmethod raised aNameError: name 'folder_paths' is not definedbecause thefolder_pathsmodule was not found. This fix properly imports the module and resolves the error.Test Results
After the fix, the
cm-cli.pyscript worked as expected. Specifically, therestore-dependenciescommand no longer encountered errors.This improvement enhances the stability and reliability of the ComfyUI Manager.
Your review would be greatly appreciated.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.