aboutsummaryrefslogtreecommitdiffstats
path: root/writeHTML.py
diff options
context:
space:
mode:
authorThibaut Horel <thibaut.horel@gmail.com>2016-02-04 21:49:36 -0500
committerThibaut Horel <thibaut.horel@gmail.com>2016-02-04 21:49:36 -0500
commite63154721bf377ec42f1d5de39b74c7d1e1ebb2d (patch)
tree4694f9c84665763e509e0cf09c02f6b94bcc580d /writeHTML.py
parent2f94281f983f86b23f8e5bcdc790fd4e032a0a2d (diff)
downloadanonbib-e63154721bf377ec42f1d5de39b74c7d1e1ebb2d.tar.gz
entries --> fields (possible confusion with Bibtex.entries)
Diffstat (limited to 'writeHTML.py')
-rwxr-xr-xwriteHTML.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/writeHTML.py b/writeHTML.py
index 871839a..00b79d6 100755
--- a/writeHTML.py
+++ b/writeHTML.py
@@ -118,7 +118,7 @@ def writeHTML(f, sections, sectionType, fieldName, choices,
def jsonDumper(obj):
if isinstance(obj, BibTeX.BibTeXEntry):
- e = obj.entries.copy()
+ e = obj.fields.copy()
e['key'] = obj.key
return e
else: