diff options
| author | Dylan Araps <[email protected]> | 2018-01-01 13:53:57 +1100 |
|---|---|---|
| committer | Dylan Araps <[email protected]> | 2018-01-01 13:53:57 +1100 |
| commit | 3841544a5fc9cea9ba4d9c847d628b000662c888 (patch) | |
| tree | ed2a028f2d857c112573f44485b956e806757147 | |
| parent | colors: Fix test. (diff) | |
| download | pywal-3841544a5fc9cea9ba4d9c847d628b000662c888.tar.xz pywal-3841544a5fc9cea9ba4d9c847d628b000662c888.zip | |
colors: update error message.
| -rw-r--r-- | pywal/colors.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pywal/colors.py b/pywal/colors.py index b6052c5..394d9ee 100644 --- a/pywal/colors.py +++ b/pywal/colors.py @@ -48,9 +48,9 @@ def gen_colors(img, color_count): sys.exit(1) else: - print("colors: Imagemagick couldn't generate a", color_count, - "color palette, trying a larger palette size", - color_count + index) + print("colors: Imagemagick couldn't generate a %s color palette, " + "trying a larger palette size %s." + % (color_count, color_count + index)) # Remove the first element because it isn't a color code. del raw_colors[0] |