diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2016-12-14 05:16:33 +0100 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2016-12-14 05:16:33 +0100 |
commit | bbf7b4a15038d458e0fc1eadcb0bb957887275ec (patch) | |
tree | 8433e398d784548ec306a7b9597948bd9ef6a1fb /src/blogc-github-lambda | |
parent | 6a90c706a0ed9dfaef1739ea7b491e040e5864b0 (diff) | |
download | blogc-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.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) |