summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2017-06-20 15:06:55 +1000
committerDylan Araps <dylan.araps@gmail.com>2017-06-20 15:06:55 +1000
commit05704c96d8408bba32da92e715760a7539c32989 (patch)
tree032f7680c7b0b78cf1bb57e9dbb7aeeb3229086a
parent13444e46bb31583c2834d4d011a104361d22e29e (diff)
colors: Fix color bug
-rwxr-xr-xwal2
1 files changed, 1 insertions, 1 deletions
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)