mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-06-19 17:19:08 +02:00
colors: update error message.
This commit is contained in:
parent
634051fe84
commit
3841544a5f
@ -48,9 +48,9 @@ def gen_colors(img, color_count):
|
|||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
print("colors: Imagemagick couldn't generate a", color_count,
|
print("colors: Imagemagick couldn't generate a %s color palette, "
|
||||||
"color palette, trying a larger palette size",
|
"trying a larger palette size %s."
|
||||||
color_count + index)
|
% (color_count, color_count + index))
|
||||||
|
|
||||||
# Remove the first element because it isn't a color code.
|
# Remove the first element because it isn't a color code.
|
||||||
del raw_colors[0]
|
del raw_colors[0]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user