[core] Graph: fix Graph.load missing return value

Add missing return statement for the load function, used by the UI to determine whether the load was successful.
This commit is contained in:
Yann Lanthony 2024-12-11 14:10:43 +01:00 committed by GitHub
parent 908312ad1c
commit a0398c45c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -267,7 +267,7 @@ class Graph(BaseObject):
""" """
self._loading = True self._loading = True
try: try:
self._load(filepath, setupProjectFile, importProject, publishOutputs) return self._load(filepath, setupProjectFile, importProject, publishOutputs)
finally: finally:
self._loading = False self._loading = False