mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
removing ambiguous project nesting
This commit is contained in:
parent
0864d3a705
commit
856ff06b4d
1 changed files with 1 additions and 3 deletions
|
|
@ -69,10 +69,8 @@ def open_file(filepath):
|
|||
|
||||
file = os.path.basename(filepath)
|
||||
fname, _ = os.path.splitext(file)
|
||||
dname, _ = fname.split("_v")
|
||||
|
||||
try:
|
||||
if not set_project_manager_to_folder_name(dname):
|
||||
raise
|
||||
# load project from input path
|
||||
project = pm.LoadProject(fname)
|
||||
log.info(f"Project {project.GetName()} opened...")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue