diff --git a/thunderbolt/client/s3_client.py b/thunderbolt/client/s3_client.py index 3401662..aa00d6b 100644 --- a/thunderbolt/client/s3_client.py +++ b/thunderbolt/client/s3_client.py @@ -34,7 +34,7 @@ def get_tasks(self) -> List[Dict[str, Any]]: n = n.split('_') if self.use_cache: - cache = self.local_cache.get(x['key']) + cache = self.local_cache.get(x['Key']) if cache: tasks_list.append(cache) continue @@ -49,7 +49,7 @@ def get_tasks(self) -> List[Dict[str, Any]]: } tasks_list.append(params) if self.use_cache: - self.local_cache.dump(x['key'], params) + self.local_cache.dump(x['Key'], params) except Exception: continue