mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-01-10 16:08:11 +01:00
travis: 3.7 support
This commit is contained in:
parent
d525bab593
commit
c5d5be8cdf
@ -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]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user