Bugfix for cbr support without comicapi
This commit is contained in:
parent
0aac961cde
commit
8007e450b3
@ -97,7 +97,7 @@ def _extract_Cover_from_archive(original_file_extension, tmp_file_name, rarExecu
|
||||
try:
|
||||
rarfile.UNRAR_TOOL = rarExecutable
|
||||
cf = rarfile.RarFile(tmp_file_name)
|
||||
for name in cf.getnames():
|
||||
for name in cf.namelist():
|
||||
ext = os.path.splitext(name)
|
||||
if len(ext) > 1:
|
||||
extension = ext[1].lower()
|
||||
|
@ -28,7 +28,7 @@ Flask-Dance>=2.0.0,<5.2.0
|
||||
SQLAlchemy-Utils>=0.33.5,<0.39.0
|
||||
|
||||
# metadata extraction
|
||||
rarfile>=2.7
|
||||
rarfile>=3.2
|
||||
scholarly>=1.2.0,<1.6
|
||||
markdown2>=2.0.0,<2.5.0
|
||||
html2text>=2020.1.16,<2022.1.1
|
||||
|
Loading…
Reference in New Issue
Block a user