Compare commits
1 commit
f35067a19e
...
3c3c51dbfb
Author | SHA1 | Date | |
---|---|---|---|
Simon Bruder | 3c3c51dbfb |
|
@ -260,7 +260,7 @@ class CalibreDB(BaseDB):
|
|||
with ZipFile(path, 'r') as volume:
|
||||
try:
|
||||
# filter sub directories
|
||||
filelist = [file for file in f.filelist if not file.is_dir()]
|
||||
filelist = [file for file in volume.filelist if not file.is_dir()]
|
||||
zip_info = filelist[page_number - 1]
|
||||
except IndexError:
|
||||
raise exceptions.NotFound()
|
||||
|
|
Reference in a new issue