Skip to content

Commit

Permalink
Merge pull request #610 from mike1158/develop
Browse files Browse the repository at this point in the history
Bugfix for MESHROOM_SUBMITTERS_PATH env variable
  • Loading branch information
fabiencastan authored Jan 3, 2020
2 parents 82f8429 + 44779f6 commit ff96004
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions meshroom/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,10 +260,7 @@ def loadSubmitters(folder, packageName):
# - Nodes
loadAllNodes(folder=os.path.join(meshroomFolder, 'nodes'))
# - Submitters
subs = loadSubmitters(meshroomFolder, 'submitters')
# - additional 3rd party submitters
if "MESHROOM_SUBMITTERS_PATH" in os.environ:
subs += loadSubmitters(os.environ["MESHROOM_SUBMITTERS_PATH"], 'submitters')
subs = loadSubmitters(os.environ.get("MESHROOM_SUBMITTERS_PATH", meshroomFolder), 'submitters')

for sub in subs:
registerSubmitter(sub())

0 comments on commit ff96004

Please sign in to comment.