mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
fix context label before publishing start
This commit is contained in:
parent
65ec73a53a
commit
d04231cc6b
1 changed files with 4 additions and 1 deletions
|
|
@ -302,8 +302,11 @@ class PublishReport:
|
|||
}
|
||||
|
||||
def _extract_context_data(self, context):
|
||||
context_label = "Context"
|
||||
if context is not None:
|
||||
context_label = context.data.get("label")
|
||||
return {
|
||||
"label": context.data.get("label")
|
||||
"label": context_label
|
||||
}
|
||||
|
||||
def _extract_instance_data(self, instance, exists):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue