diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2018-03-15 13:26:51 +1100 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2018-03-15 13:26:51 +1100 |
| commit | da9226a8c402a67bd31fc647fe888bdea3109b1f (patch) | |
| tree | 2ea658bba03717009645e61548097c0082053745 /pywal/colors.py | |
| parent | 50e880f6d494092956611c31c1cbf78fb51e6b8c (diff) | |
image: Fix crash when using llight themes and gif images. Closes #196
Diffstat (limited to 'pywal/colors.py')
| -rw-r--r-- | pywal/colors.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pywal/colors.py b/pywal/colors.py index 0fed29e..f47ac33 100644 --- a/pywal/colors.py +++ b/pywal/colors.py @@ -15,6 +15,7 @@ def imagemagick(color_count, img, magick_command): """Call Imagemagick to generate a scheme.""" flags = ["-resize", "25%", "-colors", str(color_count), "-unique-colors", "txt:-"] + img += "[0]" return subprocess.check_output([*magick_command, img, *flags]).splitlines() |
