Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #4303 from ynput/bugfix/OP-4679_Issue-Comment-on-S…
Browse files Browse the repository at this point in the history
…tandalone-and-tray-Publisher

General: missing comment on standalone and tray publisher
  • Loading branch information
kalisp authored Jan 12, 2023
2 parents e150510 + f854de4 commit 554c72c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ def process(self, instance):
if not note_text.solved:
self.log.warning((
"Note template require more keys then can be provided."
"\nTemplate: {}\nData: {}"
).format(template, format_data))
"\nTemplate: {}\nMissing values for keys:{}\nData: {}"
).format(template, note_text.missing_keys, format_data))
continue

if not note_text:
Expand Down
4 changes: 3 additions & 1 deletion openpype/plugins/publish/collect_comment.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ class CollectComment(
"""

label = "Collect Instance Comment"
order = pyblish.api.CollectorOrder + 0.49
# TODO change to CollectorOrder after Pyblish is purged
# Pyblish allows modifying comment after collect phase
order = pyblish.api.ExtractorOrder - 0.49

def process(self, context):
context_comment = self.cleanup_comment(context.data.get("comment"))
Expand Down

0 comments on commit 554c72c

Please sign in to comment.