more str/bytes
This commit is contained in:
parent
8c6164e0c4
commit
461fe3b9cf
7 changed files with 25 additions and 14 deletions
|
|
@ -85,7 +85,7 @@ def info(epub):
|
|||
return data
|
||||
|
||||
def extract_text(path):
|
||||
data = ''
|
||||
data = b''
|
||||
z = zipfile.ZipFile(path)
|
||||
for f in z.filelist:
|
||||
if f.filename.endswith('html'):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue