diff --git a/config.json b/config.json index 78ba49c..b536915 100644 --- a/config.json +++ b/config.json @@ -137,7 +137,7 @@ // banner-ize files // input: list of file paths // - "banner": [ ] + "banner": [ "build/js", "build/css" ] }, // // stage diff --git a/fabfile/__init__.py b/fabfile/__init__.py index 0bd39c4..f5b5af3 100644 --- a/fabfile/__init__.py +++ b/fabfile/__init__.py @@ -194,7 +194,7 @@ def banner(conf): def _do(file_path): puts(' %s' % file_path) - with open(file_path, 'r+') as fd: + with _open_file(file_path, 'r+') as fd: s = fd.read() fd.seek(0) fd.write(_banner_text+s)