Skip to content

Commit

Permalink
Merge pull request #434 from vladhutsal/Fix_Item_get_task_summary
Browse files Browse the repository at this point in the history
Typo fix in Item.no_tasks_pending()
  • Loading branch information
jjjake authored Sep 21, 2021
2 parents e306579 + 25b6cd2 commit 3ea02bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internetarchive/item.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def no_tasks_pending(self, params=None, request_kwargs=None):
:rtype: bool
:returns: `True` if no tasks are pending, otherwise `False`.
"""
return all(x == 0 for x in self.task_summary(params, request_kwargs).values())
return all(x == 0 for x in self.get_task_summary(params, request_kwargs).values())

def get_all_item_tasks(self, params=None, request_kwargs=None):
"""Get a list of all tasks for the item, pending and complete.
Expand Down

0 comments on commit 3ea02bd

Please sign in to comment.