Utf-8 + README updated

This commit is contained in:
Phyks 2014-05-13 15:21:00 +02:00
parent b4f0e7c0eb
commit eecdcc93bf
2 changed files with 14 additions and 4 deletions

View File

@ -32,11 +32,21 @@ Should be almost working and usable now, although still to be considered as **ex
* Import
* working : all (file / tags / bibtex modification / bibtex retrieval / remove watermark pages)
* working: all (file / tags / bibtex modification / bibtex retrieval / remove watermark pages)
* Download
* working : all
* working: all
* Delete
* working : all (by file and by id)
* working: all (by file and by id)
* List
* TODO
* Search
* TODO
* Open
* working: all
* Resync
* Testing
* Update
* Testing
## Installation

View File

@ -245,7 +245,7 @@ def downloadFile(url, filetype, manual):
def openFile(ident):
try:
with open(params.folder+'index.bib', 'r', encoding='utf-8') as fh:
bibtex = BibTexParser(fh.read())
bibtex = BibTexParser(fh.read().encode('utf-8'))
bibtex = bibtex.get_entry_dict()
except:
tools.warning("Unable to open index file.")