fix get_task: use gazu.task.get_task_by_entity (gazu 1.x)
get_task_by_name was removed in gazu 1.x; the addon pins gazu>=1.0,<2.0 so the call raises AttributeError for artists. get_task_by_entity is the drop-in replacement with the same (entity, task_type) signature. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
d2d64dc8a8
commit
6b06224f8c
@ -277,7 +277,7 @@ class Kitsu(Tracker):
|
|||||||
entity = self.get_id(entity)
|
entity = self.get_id(entity)
|
||||||
|
|
||||||
task_type = self.get_task_type(task)
|
task_type = self.get_task_type(task)
|
||||||
task = gazu.task.get_task_by_name(entity, task_type)
|
task = gazu.task.get_task_by_entity(entity, task_type)
|
||||||
|
|
||||||
if not task:
|
if not task:
|
||||||
return
|
return
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user