aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Araps <[email protected]>2017-06-20 15:06:55 +1000
committerDylan Araps <[email protected]>2017-06-20 15:06:55 +1000
commit05704c96d8408bba32da92e715760a7539c32989 (patch)
tree032f7680c7b0b78cf1bb57e9dbb7aeeb3229086a
parentImage: Random image, select image file. (diff)
downloadpywal-05704c96d8408bba32da92e715760a7539c32989.tar.xz
pywal-05704c96d8408bba32da92e715760a7539c32989.zip
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)