epub: preview would not work with python3 because of unconverted utf-8 binary index

This commit is contained in:
Jean-Francois Dockes 2018-08-30 10:48:13 +02:00
parent 6a90e3ba87
commit 51ede7168b

View File

@ -112,7 +112,7 @@ class rclEPUB:
def getipath(self, params):
return self.extractone(params["ipath:"])
return self.extractone(params["ipath:"].decode('UTF-8'))
def getnext(self, params):
if self.catenate: