epub: preview would not work with python3 because of unconverted utf-8 binary index
This commit is contained in:
parent
6a90e3ba87
commit
51ede7168b
@ -112,7 +112,7 @@ class rclEPUB:
|
|||||||
|
|
||||||
|
|
||||||
def getipath(self, params):
|
def getipath(self, params):
|
||||||
return self.extractone(params["ipath:"])
|
return self.extractone(params["ipath:"].decode('UTF-8'))
|
||||||
|
|
||||||
def getnext(self, params):
|
def getnext(self, params):
|
||||||
if self.catenate:
|
if self.catenate:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user