summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2018-01-01 13:34:36 +1100
committerDylan Araps <dylan.araps@gmail.com>2018-01-01 13:34:36 +1100
commit634051fe8477a44bbbf3e2d95dae8b9602253b7d (patch)
tree6ee79a5d17f6ad6349a640a2d80f901feedd6c7e
parent3fc3b5e033eeacb691fa077869391f54a3d46d6c (diff)
colors: Fix test.
-rw-r--r--pywal/colors.py2
1 files changed, 1 insertions, 1 deletions
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)