summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2017-07-23 21:10:42 +1000
committerDylan Araps <dylan.araps@gmail.com>2017-07-23 21:10:42 +1000
commit2fa6215b55f8eb838950ea930033c50cc626e5d9 (patch)
tree00a788cb28d22b9d8a85a1b5cef704f02ce4aa0b
parentcaacba6e15bcf6117fec853e388696d7edd0c312 (diff)
tests: Exclude convert check
-rw-r--r--pywal/colors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pywal/colors.py b/pywal/colors.py
index 18a237a..a51a0c7 100644
--- a/pywal/colors.py
+++ b/pywal/colors.py
@@ -22,7 +22,7 @@ def imagemagick(color_count, img):
def gen_colors(img, color_count):
"""Format the output from imagemagick into a list
of hex colors."""
- if not shutil.which("convert"):
+ if not shutil.which("convert"): # pragma: no cover
print("error: imagemagick not found, exiting...\n"
"error: wal requires imagemagick to function.")
exit(1)