summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)