diff options
-rw-r--r-- | src/blogc-github-lambda/lambda_function.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/blogc-github-lambda/lambda_function.py b/src/blogc-github-lambda/lambda_function.py index 7fcc1d8..233cd7d 100644 --- a/src/blogc-github-lambda/lambda_function.py +++ b/src/blogc-github-lambda/lambda_function.py @@ -91,6 +91,7 @@ def translate_filename(filename): def sync_s3(src, dest, settings_file): + settings = {} if os.path.exists(settings_file): with open(settings_file, 'r') as fp: settings = json.load(fp) |