another cbz fix

This commit is contained in:
j 2019-02-01 17:56:28 +05:30
parent 4e4b853416
commit 3b438010d6

View file

@ -20,7 +20,7 @@ def cover(path):
return data return data
files = [f.filename for f in z.filelist] files = [f.filename for f in z.filelist]
if files: if files:
cover = ox.sortedstrings(files)[0] cover = ox.sorted_strings(files)[0]
try: try:
data = z.read(cover) data = z.read(cover)
except: except: