From 570bfccfc507ea27cc0034b9ddac7ff06ee68dc8 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 2 Jul 2017 23:24:55 +1000 Subject: [PATCH] magic: Update docs --- pywal/magic.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pywal/magic.py b/pywal/magic.py index b435a0a..406a513 100644 --- a/pywal/magic.py +++ b/pywal/magic.py @@ -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")