From 3c8265265791a2a58bbd90c444f9929094f0da33 Mon Sep 17 00:00:00 2001 From: Laurie Clark-Michalek Date: Tue, 4 Feb 2014 12:43:01 +0000 Subject: Added explicit error message about lack of imagemagick (Fixes #17) --- archey3 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/archey3 b/archey3 index 88b32c3..773c523 100755 --- a/archey3 +++ b/archey3 @@ -630,6 +630,8 @@ def screenshot(state): state.logger.critical('Screenshot failed with return code {0}.'.format( e.returncode)) raise + except subprocess.FileNotFoundError: + print("Could not find import command, install imagemagick") def color(state, code, bold=False): """ -- cgit v1.2.3-54-g00ecf