mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
Update openpype/modules/kitsu/plugins/publish/integrate_kitsu_note.py
Co-authored-by: Félix David <felixg.david@gmail.com>
This commit is contained in:
parent
0b0a9ca281
commit
5059c0cedf
1 changed files with 4 additions and 4 deletions
|
|
@ -29,14 +29,14 @@ class IntegrateKitsuNote(pyblish.api.ContextPlugin):
|
|||
kitsu_status = gazu.task.get_task_status_by_short_name(
|
||||
self.note_status_shortname
|
||||
)
|
||||
if not kitsu_status:
|
||||
if kitsu_status:
|
||||
note_status = kitsu_status
|
||||
self.log.info("Note Kitsu status: {}".format(note_status))
|
||||
else:
|
||||
self.log.info(
|
||||
"Cannot find {} status. The status will not be "
|
||||
"changed!".format(self.note_status_shortname)
|
||||
)
|
||||
else:
|
||||
note_status = kitsu_status
|
||||
self.log.info("Note Kitsu status: {}".format(note_status))
|
||||
|
||||
# Add comment to kitsu task
|
||||
self.log.debug("Add new note in taks id {}".format(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue