mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-07-24 03:57:28 +02:00
[core] plugin loading: ignore folders starting with __
This commit is contained in:
parent
48e3e4cfa1
commit
f9ff32c68a
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ def loadNodes(folder, packageName):
|
|||
def loadAllNodes(folder):
|
||||
global nodesDesc
|
||||
for f in os.listdir(folder):
|
||||
if os.path.isdir(os.path.join(folder, f)):
|
||||
if os.path.isdir(os.path.join(folder, f)) and not f.startswith('__'):
|
||||
nodeTypes = loadNodes(folder, f)
|
||||
|
||||
nodes = dict([(m.__name__, m) for m in nodeTypes])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue