Skip to content

Commit

Permalink
Fix APS script
Browse files Browse the repository at this point in the history
  • Loading branch information
michamos committed Dec 13, 2023
1 parent e7355fb commit 038e1fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/fix-aps-harvesting-mess/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def check(record, logger, state):
def do(record, logger, state):
new_pubinfo = [
p
for (p, i) in enumerate(record["publication_info"])
for (i, p) in enumerate(record["publication_info"])
if i not in state["to_delete"]
]
record["publication_info"] = new_pubinfo
Expand Down

0 comments on commit 038e1fd

Please sign in to comment.