Fix package name extraction for nested module paths
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
b56687158d
commit
35560bceb0
1 file changed
+1
-1
@@ -20,7 +20,7 @@ class NodePackageMapper:
|
||||
# "custom_nodes.PackageName" -> "PackageName"
|
||||
# "comfy_extras.nodes_xyz" -> "__builtin__"
|
||||
# "comfy_api_nodes.xyz" -> "__builtin__"
|
||||
parts = module.split(".", 1)
|
||||
parts = module.split(".")
|
||||
if parts[0] == "custom_nodes" and len(parts) > 1:
|
||||
self._map[class_type] = parts[1]
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user