Skip to content

Commit

Permalink
OA: type conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
ErnestaP committed Apr 23, 2024
1 parent 9b65a91 commit f2a72d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dags/open_access/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def get_total_results_count(data):
match = TOTAL_RECORDS_COUNT.search(comment_line)
try:
total_records_count = match.group(1)
return total_records_count
return int(total_records_count)
except AttributeError:
return 0

Expand Down

0 comments on commit f2a72d8

Please sign in to comment.