Update client/ayon_core/hosts/hiero/api/workio.py

Co-authored-by: Kayla Man <64118225+moonyuet@users.noreply.github.com>
This commit is contained in:
Toke Jepsen 2024-04-30 16:28:15 +01:00 committed by GitHub
parent 8499660acb
commit 8e4fe3bdde
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -56,8 +56,11 @@ def open_file(filepath):
# Close previous project if its different to the current project.
if project.path() != filepath:
# open project file
hiero.core.openProject(filepath.replace(os.path.sep, "/"))
project.close()
return True