mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
collect templates fix there is not defined context
This commit is contained in:
parent
ed280250c4
commit
fd42c048b3
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ class CollectTemplates(pyblish.api.InstancePlugin):
|
|||
"representation": "TEMP"}
|
||||
|
||||
# Add datetime data to template data
|
||||
datetime_data = context.data.get("datetimeData") or {}
|
||||
datetime_data = instance.context.data.get("datetimeData") or {}
|
||||
template_data.update(datetime_data)
|
||||
|
||||
resolution_width = instance.data.get("resolutionWidth")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue