removing ambiguous project nesting

This commit is contained in:
Jakub Jezek 2023-06-26 15:38:50 +02:00
parent 0864d3a705
commit 856ff06b4d
No known key found for this signature in database
GPG key ID: 730D7C02726179A7

View file

@ -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...")