summaryrefslogtreecommitdiff
path: root/cron/handler.py
diff options
context:
space:
mode:
Diffstat (limited to 'cron/handler.py')
-rw-r--r--cron/handler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cron/handler.py b/cron/handler.py
index 64f96e8..47d81bb 100644
--- a/cron/handler.py
+++ b/cron/handler.py
@@ -21,7 +21,7 @@ def geshem_update():
try:
latest_imgs = client.list_objects_v2(Bucket=BUCKET, Prefix=IMG_PREFIX, StartAfter=IMG_PREFIX + yesterday)['Contents']
- latest_keys = [i.Key for i in latest_imgs]
+ latest_keys = [i['Key'] for i in latest_imgs]
except KeyError:
latest_keys = []