Merge pull request #2 from szhublox/unixpath
use os.sep to quickly fix linux path
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ import importlib
|
||||
|
||||
NODE_CLASS_MAPPINGS = {}
|
||||
|
||||
for node in os.listdir(os.path.dirname(__file__) + '\\nodes'):
|
||||
for node in os.listdir(os.path.dirname(__file__) + os.sep + 'nodes'):
|
||||
if node.startswith('DT_'):
|
||||
node = node.split('.')[0]
|
||||
node_import = importlib.import_module('custom_nodes.ComfyUI-Vextra-Nodes.nodes.' + node)
|
||||
|
||||
Reference in New Issue
Block a user