Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wanghaisheng committed Jul 27, 2024
1 parent f7c9d7f commit a3618d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def runtime(self, context: dict):
max_results=self.max_results,
sort_by=arxiv.SortCriterion.SubmittedDate
).results()
print(f'query results:{len(res)}')
print(f'query results:{len(list(res))}')
context.update({"response": res, "hook": context})
self.worker.put_nowait(context)

Expand Down

0 comments on commit a3618d6

Please sign in to comment.