From 2f8363062908300908582cd2d43603d980661d41 Mon Sep 17 00:00:00 2001 From: codl Date: Fri, 11 Aug 2017 21:44:37 +0200 Subject: [PATCH] oops!!!! ooooooppppppppsssssssssssssssssss :w --- dodo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dodo.py b/dodo.py index d6de1ab..4b95eba 100644 --- a/dodo.py +++ b/dodo.py @@ -14,7 +14,7 @@ def task_gen_logo(): for width in widths: yield dict( name=str(width), - actions=[(gen_logo, (width,))], + actions=[(resize_logo, (width,))], targets=[f'static/logotype-{width}.png'], file_dep=['assets/logotype.png'], clean=True, @@ -27,7 +27,7 @@ def task_copy_asset(): for asset in assets: yield dict( name=asset, - actions=[lambda: shutil.copy(f'assets/{asset}', f'static/{asset}')], + actions=[(lambda asset: shutil.copy(f'assets/{asset}', f'static/{asset}'), (asset,))], targets=[f'static/{asset}'], file_dep=[f'assets/{asset}'], clean=True,