diff --git a/platypush/backend/linode/__init__.py b/platypush/backend/linode/__init__.py index 756eb2757d..216a9f6218 100644 --- a/platypush/backend/linode/__init__.py +++ b/platypush/backend/linode/__init__.py @@ -26,7 +26,7 @@ class LinodeBackend(SensorBackend): self.instances = set(instances or []) def process_data(self, data: Dict[str, dict], new_data: Optional[Dict[str, dict]] = None, **kwargs): - instances = data['instances'] + instances = data.get('instances', {}) old_instances = (self.data or {}).get('instances', {}) if self.instances: