From 58240fed11dc64b9960ed2d5f044b7fcde023a93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20H=C3=BCgel?= Date: Sat, 16 Jun 2018 11:26:30 +0100 Subject: [PATCH] Allow common strings when parsing bibtex Closes #81 --- pyzotero/zotero.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyzotero/zotero.py b/pyzotero/zotero.py index 4684965..d8e798c 100644 --- a/pyzotero/zotero.py +++ b/pyzotero/zotero.py @@ -33,7 +33,7 @@ from __future__ import unicode_literals __author__ = u'Stephan Hügel' -__version__ = '1.3.1' +__version__ = '1.3.2' __api_version__ = '3' # Python 3 compatibility faffing @@ -186,7 +186,7 @@ def wrapped_f(self, *args, **kwargs): # we need to dump as a zip! self.snapshot = True if fmt == 'bibtex': - return bibtexparser.loads(retrieved.text) + return bibtexparser.loads(retrieved.text, common_strings=True) # it's binary, so return raw content elif fmt != 'json': return retrieved.content