From 15ebd08a0271c07558682bae5491185b7436cf3f Mon Sep 17 00:00:00 2001 From: Matthias Volk Date: Tue, 13 Aug 2024 17:12:34 +0200 Subject: [PATCH] Clean up search strings in update_from_dblp --- bin/update_from_dblp.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bin/update_from_dblp.py b/bin/update_from_dblp.py index 39e47d7..80ffe20 100644 --- a/bin/update_from_dblp.py +++ b/bin/update_from_dblp.py @@ -75,10 +75,16 @@ def main(): if "author" in entry.persons: authors = ", ".join([str(author) for author in entry.persons["author"]]) + # Clean-up search string + authors = authors.replace("{", "") + authors = authors.replace("}", "") else: authors = "" if "title" in entry.fields: title = entry.fields["title"] + # Clean-up search string + title = title.replace("{", "") + title = title.replace("}", "") else: title = ""