travis: 3.7 support

This commit is contained in:
Dylan Araps 2018-07-06 08:37:42 +10:00
parent d525bab593
commit c5d5be8cdf

View File

@ -18,6 +18,7 @@ from .. import util
def gen_colors(img):
"""Generate a colorscheme using Colorz."""
# pylint: disable=not-callable
raw_colors = colorz.colorz(img, n=6, bold_add=0)
return [util.rgb_to_hex([*color[0]]) for color in raw_colors]