colors: Change function order

This commit is contained in:
Dylan Araps 2017-06-21 22:40:51 +10:00
parent 0a64877b1e
commit 5efd215969

3
wal
View File

@ -95,10 +95,11 @@ def process_args(args):
if args.i:
image = str(get_image(args.i))
colors = get_colors(image)
if not args.n:
set_wallpaper(image)
colors = get_colors(image)
return colors