Skip to content

Commit

Permalink
Merge pull request #44 from BigRoy/bugfix/log_last_workfile_disabled_…
Browse files Browse the repository at this point in the history
…only_when_disabled

Log opening of last workfile was disabled only if `start_last_workfile is False` explicitly
  • Loading branch information
iLLiCiTiT authored Jan 7, 2025
2 parents 24ce592 + 4b079ec commit 0c2cb0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/ayon_applications/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ def _prepare_last_workfile(data, workdir, addons_manager):
start_last_workfile = should_use_last_workfile_on_launch(
project_name, app.host_name, task_name, task_type
)
else:
elif start_last_workfile is False:
log.info("Opening of last workfile was disabled by user")

data["start_last_workfile"] = start_last_workfile
Expand Down

0 comments on commit 0c2cb0b

Please sign in to comment.