aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-github-lambda/lambda_function.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/blogc-github-lambda/lambda_function.py')
-rw-r--r--src/blogc-github-lambda/lambda_function.py1
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)