From adbeb7f2b3116e228373a0ae09ade6b547eb13f6 Mon Sep 17 00:00:00 2001 From: "Fabien C. Y. Benureau" Date: Wed, 21 Feb 2018 14:05:47 +0900 Subject: [PATCH] activating common strings by default in parser; fixes #122 --- pubs/endecoder.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pubs/endecoder.py b/pubs/endecoder.py index 321eff4..bf4a77a 100644 --- a/pubs/endecoder.py +++ b/pubs/endecoder.py @@ -115,11 +115,12 @@ class EnDecoder(object): try: try: entries = bp.bparser.BibTexParser( - bibdata, homogenize_fields=True, - customization=customizations).get_entry_dict() + bibdata, common_strings=True, + customization=customizations, + homogenize_fields=True).get_entry_dict() except TypeError: entries = bp.bparser.BibTexParser( - bibdata, + bibdata, common_strings=True, customization=customizations).get_entry_dict() # Remove id from bibtexparser attribute which is stored as citekey