From 05704c96d8408bba32da92e715760a7539c32989 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Tue, 20 Jun 2017 15:06:55 +1000 Subject: [PATCH] colors: Fix color bug --- wal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wal b/wal index a7441a2..8ef577e 100755 --- a/wal +++ b/wal @@ -153,7 +153,7 @@ def gen_colors(img): # If imagemagick finds less than 16 colors, use a larger source number # of colors. index = 0 - while len(raw_colors) - 1 <= COLOR_COUNT: + while len(raw_colors) - 1 < COLOR_COUNT: index += 1 raw_colors = imagemagick(COLOR_COUNT + index, img)