magic: Update docs

This commit is contained in:
Dylan Araps 2017-07-02 23:24:55 +10:00 committed by GitHub
parent 0757c9ef05
commit 570bfccfc5

View File

@ -19,7 +19,8 @@ def imagemagick(color_count, img):
def gen_colors(img):
"""Generate a color palette using imagemagick."""
"""Format the output from imagemagick into a list
of hex colors."""
# Check if the user has Imagemagick installed.
if not shutil.which("convert"):
print("error: imagemagick not found, exiting...\n"
@ -48,7 +49,7 @@ def gen_colors(img):
def get_colors(img, quiet):
"""Generate a colorscheme using imagemagick."""
"""Get the colorscheme."""
# Cache the wallpaper name.
util.save_file(img, CACHE_DIR / "wal")