mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
black
This commit is contained in:
parent
21c123f344
commit
667cff319d
1 changed files with 7 additions and 6 deletions
|
|
@ -22,7 +22,7 @@ class IntegrateKitsuNote(pyblish.api.ContextPlugin):
|
|||
|
||||
self.log.debug("Comment is `{}`".format(publish_comment))
|
||||
|
||||
# Get note status, by default uses the task status for the note
|
||||
# Get note status, by default uses the task status for the note
|
||||
# if it is not specified in the configuration
|
||||
note_status = context.data["kitsu_task"]["task_status_id"]
|
||||
if self.set_status_note:
|
||||
|
|
@ -39,12 +39,13 @@ class IntegrateKitsuNote(pyblish.api.ContextPlugin):
|
|||
)
|
||||
|
||||
# Add comment to kitsu task
|
||||
self.log.debug("Add new note in taks id {}".format(
|
||||
context.data["kitsu_task"]['id']))
|
||||
self.log.debug(
|
||||
"Add new note in taks id {}".format(
|
||||
context.data["kitsu_task"]["id"]
|
||||
)
|
||||
)
|
||||
kitsu_comment = gazu.task.add_comment(
|
||||
context.data["kitsu_task"],
|
||||
note_status,
|
||||
comment=publish_comment
|
||||
context.data["kitsu_task"], note_status, comment=publish_comment
|
||||
)
|
||||
|
||||
context.data["kitsu_comment"] = kitsu_comment
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue