oops!!!! ooooooppppppppsssssssssssssssssss :w

This commit is contained in:
codl 2017-08-11 21:44:37 +02:00
parent 349a96b646
commit 2f83630629
No known key found for this signature in database
GPG Key ID: 6CD7C8891ED1233A
1 changed files with 2 additions and 2 deletions

View File

@ -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,