mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
comment is not overriden with empty string if is already set
This commit is contained in:
parent
e4ba53ac15
commit
1afd2b40ce
1 changed files with 2 additions and 1 deletions
|
|
@ -15,4 +15,5 @@ class CollectComment(pyblish.api.ContextPlugin):
|
|||
order = pyblish.api.CollectorOrder
|
||||
|
||||
def process(self, context):
|
||||
context.data["comment"] = ""
|
||||
comment = (context.data.get("comment") or "").strip()
|
||||
context.data["comment"] = comment
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue