Skip to content

Commit

Permalink
Merge pull request #209 from deargle/208-get-all-hits
Browse files Browse the repository at this point in the history
get_workers get all hits
  • Loading branch information
gureckis committed May 10, 2016
2 parents 51158ca + c196b75 commit e393d33
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions psiturk/amt_services.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,7 @@ def get_workers(self, assignment_status=None):
if not self.connect_to_turk():
return False
try:
hits = self.mtc.search_hits(sort_direction='Descending',
page_size=20)
hits = self.mtc.get_all_hits()
hit_ids = [hit.HITId for hit in hits]

workers_nested = []
Expand Down

0 comments on commit e393d33

Please sign in to comment.