Skip to content

Commit

Permalink
fixes authors duplicate usage
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfgangFahl committed Dec 29, 2023
1 parent c8a065a commit e765aa6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ceurws/wikidatasync.py
Original file line number Diff line number Diff line change
Expand Up @@ -1223,13 +1223,14 @@ def get_all_ceur_papers(self, force_query: bool = False) -> List[DblpPaper]:
pdf_id = pdf_id.replace("https://ceur-ws.org/", "")
pdf_id = pdf_id.replace(".pdf", "")
authors = []
authors=d.get("author", "")
# get the authors string
authors_str=d.get("author", "")
# >;< qlever quirk until 2023-12
if ">;<" in authors:
if ">;<" in authors_str:
delim=">;<"
else:
delim=";"
for dblp_author_id in authors.split(
for dblp_author_id in authors_str.split(
delim
): #
author = authorsById.get(dblp_author_id, None)
Expand Down

0 comments on commit e765aa6

Please sign in to comment.