From 1818105d9816bf643c27285444648001f9f13762 Mon Sep 17 00:00:00 2001 From: Alexander PapaTutuWawa Date: Sat, 26 Sep 2020 13:33:50 +0200 Subject: [PATCH] Fix an error with NoneType --- makesite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makesite.py b/makesite.py index a3a7394..47cfbec 100644 --- a/makesite.py +++ b/makesite.py @@ -187,7 +187,7 @@ def main(): help='The assets directory to copy') parser.add_option('-v', '--variable', action='append', dest='variables', help='Append a variable to the params') - parser.add_option('-i', '--ignore', action='append', dest='asset_ignores', + parser.add_option('-i', '--ignore', action='append', dest='asset_ignores', default=[], help='Ignore a folder when copying the assets') parser.add_option('--include', action='append', dest='includes', default=[], help='Include files and folders into the build')