Skip to content

Commit

Permalink
OA: bug fix (data -> data.text)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErnestaP committed Apr 23, 2024
1 parent f2a72d8 commit 968ff26
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 @@ -24,7 +24,7 @@ def get_gold_access_count(total, url):
full_url = f"{url}&jrec={jrec}"
data = get_data(full_url)
golden_access_records_ids_count = golden_access_records_ids_count + len(
get_golden_access_records_ids(data)
get_golden_access_records_ids(data.text)
)
return golden_access_records_ids_count

Expand Down

0 comments on commit 968ff26

Please sign in to comment.