aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-github-lambda
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-12-14 05:16:33 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-12-14 05:16:33 +0100
commitbbf7b4a15038d458e0fc1eadcb0bb957887275ec (patch)
tree8433e398d784548ec306a7b9597948bd9ef6a1fb /src/blogc-github-lambda
parent6a90c706a0ed9dfaef1739ea7b491e040e5864b0 (diff)
downloadblogc-bbf7b4a15038d458e0fc1eadcb0bb957887275ec.tar.gz
blogc-bbf7b4a15038d458e0fc1eadcb0bb957887275ec.tar.bz2
blogc-bbf7b4a15038d458e0fc1eadcb0bb957887275ec.zip
github-lambda: initialize variable
Diffstat (limited to 'src/blogc-github-lambda')
-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)