mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-02 08:18:25 +02:00
Merge pull request #1767 from alicevision/bugfix-tonode-submit
removed duplicated call to findnodes
This commit is contained in:
commit
267aff5a09
2 changed files with 4 additions and 2 deletions
|
@ -1356,6 +1356,6 @@ def submit(graphFile, submitter, toNode=None):
|
|||
Submit the given graph via the given submitter.
|
||||
"""
|
||||
graph = loadGraph(graphFile)
|
||||
toNodes = graph.findNodes([toNode]) if toNode else None
|
||||
toNodes = graph.findNodes(toNode) if toNode else None
|
||||
submitGraph(graph, submitter, toNodes)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue