diff --git a/parsifal/apps/reviews/conducting/views.py b/parsifal/apps/reviews/conducting/views.py index 6ad21d77..d4007c87 100644 --- a/parsifal/apps/reviews/conducting/views.py +++ b/parsifal/apps/reviews/conducting/views.py @@ -18,7 +18,6 @@ import bibtexparser import xlwt from bibtexparser.bparser import BibTexParser -from bibtexparser.customization import convert_to_unicode from parsifal.apps.reviews.decorators import author_required from parsifal.apps.reviews.models import ( @@ -670,7 +669,6 @@ def import_bibtex(request): if ext in valid_extensions or bibtex_file.content_type == "application/x-bibtex": try: parser = BibTexParser(common_strings=True) - parser.customization = convert_to_unicode bib_database = bibtexparser.load(bibtex_file, parser=parser) articles = bibtex_to_article_object(bib_database, review, source) _import_articles(request, source, articles) @@ -698,7 +696,6 @@ def import_bibtex_raw_content(request): source = Source.objects.get(pk=source_id) parser = BibTexParser(common_strings=True) - parser.customization = convert_to_unicode bib_database = bibtexparser.loads(bibtex_file, parser=parser) articles = bibtex_to_article_object(bib_database, review, source) _import_articles(request, source, articles) diff --git a/parsifal/newsfragments/91.bugfix b/parsifal/newsfragments/91.bugfix new file mode 100644 index 00000000..5d5ffe20 --- /dev/null +++ b/parsifal/newsfragments/91.bugfix @@ -0,0 +1 @@ +Fix issue while trying to import a bibtex file.