Dont load proj files if they dont exist
This commit is contained in:
parent
473d712dcb
commit
7c77672226
@ -113,7 +113,9 @@ def main() -> int:
|
|||||||
# If the expected project file exists already
|
# If the expected project file exists already
|
||||||
# (aka, user already saved in a previous session),
|
# (aka, user already saved in a previous session),
|
||||||
# then conveniently open the project automatically
|
# then conveniently open the project automatically
|
||||||
cmd.append(str(noncomercialize_path(project_save_file)))
|
proj_file = noncomercialize_path(project_save_file)
|
||||||
|
if proj_file.exists():
|
||||||
|
cmd.append(str(proj_file))
|
||||||
|
|
||||||
# Run houdini
|
# Run houdini
|
||||||
logger.info(f"Running: {' '.join(cmd)}")
|
logger.info(f"Running: {' '.join(cmd)}")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user