Skip to content

Commit

Permalink
Fix for "wrong type of data" error
Browse files Browse the repository at this point in the history
  • Loading branch information
mangecoeur committed Jul 25, 2014
1 parent 03b0e41 commit cd1ab52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion citer.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def refresh_caches():
if LST_MOD_TIME is None or last_modified_time != LST_MOD_TIME:

with open(BIBFILE_PATH, 'r', encoding="utf-8") as bibfile:
bp = BibTexParser(bibfile, customization=convert_to_unicode)
bp = BibTexParser(bibfile.read(), customization=convert_to_unicode)
_DOCUMENTS = list(bp.get_entry_list())
_MENU = _make_citekey_menu_list(_DOCUMENTS)
_CITEKEYS = [doc.get('id') for doc in _DOCUMENTS]
Expand Down

0 comments on commit cd1ab52

Please sign in to comment.