From db0fe9a755a154d1b144dafe72ea448be7e34a72 Mon Sep 17 00:00:00 2001 From: Ozzieisaacs Date: Sun, 7 Jun 2020 15:41:53 +0200 Subject: [PATCH] Fix for #1474 (old comicapi with installed unrar, but missing unrar-lib) --- cps/comic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/comic.py b/cps/comic.py index f6bf84b2..e788fc44 100644 --- a/cps/comic.py +++ b/cps/comic.py @@ -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