mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Fix context not being reported correctly if it was already set on context.data prior to collector
This commit is contained in:
parent
63923ff4d8
commit
7243f7e721
1 changed files with 9 additions and 2 deletions
|
|
@ -39,5 +39,12 @@ class CollectCurrentContext(pyblish.api.ContextPlugin):
|
|||
# - 'task' -> 'taskName'
|
||||
|
||||
self.log.info((
|
||||
"Collected project context\nProject: {}\nAsset: {}\nTask: {}"
|
||||
).format(project_name, asset_name, task_name))
|
||||
"Collected project context\n"
|
||||
"Project: {project_name}\n"
|
||||
"Asset: {asset_name}\n"
|
||||
"Task: {task_name}"
|
||||
).format(
|
||||
project_name=context.data["projectName"],
|
||||
asset_name=context.data["asset"],
|
||||
task_name=context.data["task"]
|
||||
))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue