From 634051fe8477a44bbbf3e2d95dae8b9602253b7d Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 1 Jan 2018 13:34:36 +1100 Subject: [PATCH] colors: Fix test. --- pywal/colors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pywal/colors.py b/pywal/colors.py index 333bf04..b6052c5 100644 --- a/pywal/colors.py +++ b/pywal/colors.py @@ -42,7 +42,7 @@ def gen_colors(img, color_count): if len(raw_colors) > 16: break - elif index == 20: + elif index == 19: print("colors: Imagemagick couldn't generate a suitable scheme", "for the image. Exiting...") sys.exit(1)