Skip to content

Commit

Permalink
[core] Graph: fix Graph.load missing return value
Browse files Browse the repository at this point in the history
Add missing return statement for the load function, used by the UI to determine whether the load was successful.
  • Loading branch information
yann-lty authored Dec 11, 2024
1 parent 908312a commit a0398c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meshroom/core/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def load(self, filepath, setupProjectFile=True, importProject=False, publishOutp
"""
self._loading = True
try:
self._load(filepath, setupProjectFile, importProject, publishOutputs)
return self._load(filepath, setupProjectFile, importProject, publishOutputs)
finally:
self._loading = False

Expand Down

0 comments on commit a0398c4

Please sign in to comment.