summaryrefslogtreecommitdiff
path: root/cron/handler.py
diff options
context:
space:
mode:
Diffstat (limited to 'cron/handler.py')
-rw-r--r--cron/handler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cron/handler.py b/cron/handler.py
index d19c9b9..469c429 100644
--- a/cron/handler.py
+++ b/cron/handler.py
@@ -42,11 +42,11 @@ class GeshemUpdate():
return latest_keys
def fetch_missing_images(self):
- ftp_imgs = self.get_latest_images()
+ imgs = self.get_latest_images()
s3_imgs = self.get_latest_bucket_keys()
updated = False
- for img in ftp_imgs:
+ for img in imgs:
key = self.key_from_filename(img)
if key not in s3_imgs:
self.fetch_image(img, key)