From 0750bfccc193bb375af1fb5b7c3049352bbfed4b Mon Sep 17 00:00:00 2001 From: Matthias Volk Date: Tue, 13 Aug 2024 17:06:53 +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 7e486e8..a4cf2ca 100644 --- a/bin/update_from_dblp.py +++ b/bin/update_from_dblp.py @@ -79,10 +79,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 = ""