Epub: failed with python3 when epubcatenate was set
This commit is contained in:
parent
0eb6ca8764
commit
5210088e8f
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/python3
|
||||||
"""Extract Html content from an EPUB file (.epub)"""
|
"""Extract Html content from an EPUB file (.epub)"""
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
|
||||||
@ -95,7 +95,7 @@ class rclEPUB:
|
|||||||
stdout=subprocess.PIPE
|
stdout=subprocess.PIPE
|
||||||
)
|
)
|
||||||
txt,err = process.communicate(doc)
|
txt,err = process.communicate(doc)
|
||||||
alltxt += txt
|
alltxt += txt.decode('utf-8')
|
||||||
return alltxt
|
return alltxt
|
||||||
|
|
||||||
def closefile(self):
|
def closefile(self):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user