mirror of
https://github.com/dylanaraps/pywal.git
synced 2024-12-03 05:13:27 +01:00
colors: Fix color bug
This commit is contained in:
parent
13444e46bb
commit
05704c96d8
2
wal
2
wal
@ -153,7 +153,7 @@ def gen_colors(img):
|
|||||||
# If imagemagick finds less than 16 colors, use a larger source number
|
# If imagemagick finds less than 16 colors, use a larger source number
|
||||||
# of colors.
|
# of colors.
|
||||||
index = 0
|
index = 0
|
||||||
while len(raw_colors) - 1 <= COLOR_COUNT:
|
while len(raw_colors) - 1 < COLOR_COUNT:
|
||||||
index += 1
|
index += 1
|
||||||
raw_colors = imagemagick(COLOR_COUNT + index, img)
|
raw_colors = imagemagick(COLOR_COUNT + index, img)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user