forked from josch/img2pdf
src/img2pdf_test.py: also catch subprocess.CalledProcessError
This commit is contained in:
parent
e151ca27eb
commit
1d5be0cc9d
1 changed files with 2 additions and 0 deletions
|
@ -61,6 +61,8 @@ try:
|
|||
HAVE_IMAGEMAGICK_MODERN = False
|
||||
except FileNotFoundError:
|
||||
HAVE_IMAGEMAGICK_MODERN = False
|
||||
except subprocess.CalledProcessError:
|
||||
HAVE_IMAGEMAGICK_MODERN = False
|
||||
|
||||
if not HAVE_IMAGEMAGICK_MODERN:
|
||||
warnings.warn("imagemagick >= 6.9.10 not available, skipping certain checks...")
|
||||
|
|
Loading…
Reference in a new issue