1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-24 18:47:23 +00:00

Fix for #1474 (old comicapi with installed unrar, but missing unrar-lib)

This commit is contained in:
Ozzieisaacs 2020-06-07 15:41:53 +02:00
parent fdf10e3d2e
commit db0fe9a755

View File

@ -40,7 +40,7 @@ try:
from comicapi import __version__ as comic_version
except (ImportError):
comic_version = ''
except ImportError as e:
except (ImportError, LookupError) as e:
log.debug('Cannot import comicapi, extracting comic metadata will not work: %s', e)
import zipfile
import tarfile