Commit 66da0aedd39f63c56d76e85e0a2b21595ea190ec
1 parent
0242d0ea
Exists in
master
Fix number_of_taskruns function
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
wikilibras.py
... | ... | @@ -81,7 +81,7 @@ class Wikilibras: |
81 | 81 | return tasks[0] if len(tasks) > 0 else None |
82 | 82 | |
83 | 83 | def __find_taskruns(self, project_id, task_id): |
84 | - return pbclient.find_taskruns(project_id, id=task_id) | |
84 | + return pbclient.find_taskruns(project_id, task_id=task_id) | |
85 | 85 | |
86 | 86 | def __number_of_taskruns(self, project_id, task_id): |
87 | 87 | taskruns = self.__find_taskruns(project_id, task_id) | ... | ... |