Epub: failed with python3 when epubcatenate was set

This commit is contained in:
Jean-Francois Dockes 2019-10-10 09:02:00 +02:00
parent 0eb6ca8764
commit 5210088e8f

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/python3
"""Extract Html content from an EPUB file (.epub)"""
from __future__ import print_function
@ -95,7 +95,7 @@ class rclEPUB:
stdout=subprocess.PIPE
)
txt,err = process.communicate(doc)
alltxt += txt
alltxt += txt.decode('utf-8')
return alltxt
def closefile(self):