summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurie Clark-Michalek <bluepeppers@archlinux.us>2014-02-04 12:43:01 +0000
committerLaurie Clark-Michalek <bluepeppers@archlinux.us>2014-02-04 12:43:01 +0000
commit3c8265265791a2a58bbd90c444f9929094f0da33 (patch)
tree6d7190f0acb2bab60936354c07927d952d9bd73b
parentc1d1fedccc843ada034d7bcbfe89d00cfc58fea3 (diff)
Added explicit error message about lack of imagemagick (Fixes #17)
-rwxr-xr-xarchey32
1 files changed, 2 insertions, 0 deletions
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):
"""