more str/bytes

This commit is contained in:
j 2014-09-08 21:17:35 +02:00
commit 461fe3b9cf
7 changed files with 25 additions and 14 deletions

View file

@ -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'):