Skip to content

Commit

Permalink
fix(wip): Working on migration problems
Browse files Browse the repository at this point in the history
  • Loading branch information
monotasker committed Oct 30, 2024
1 parent e1a8092 commit aac44ca
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion invenio_record_importer_kcworks/record_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,13 @@ def create_invenio_record(
).to_dict()
)
recs = published_recs
recs.extend([r for r in draft_recs if r not in published_recs])
recs.extend(
[
r
for r in draft_recs
if r["id"] not in [p["id"] for p in published_recs]
]
)

app.logger.info(
f" found {same_doi['hits']['total']['value']} existing"
Expand Down

0 comments on commit aac44ca

Please sign in to comment.