diff --git a/platypush/backend/sensor/__init__.py b/platypush/backend/sensor/__init__.py index 31cb35af..556a5cf9 100644 --- a/platypush/backend/sensor/__init__.py +++ b/platypush/backend/sensor/__init__.py @@ -174,7 +174,7 @@ class SensorBackend(Backend): if plugin and hasattr(plugin, 'close'): plugin.close() - def process_data(self, *, new_data, **_): + def process_data(self, new_data, *_, **__): if new_data is not None and new_data not in ({}, []): self.bus.post(SensorDataChangeEvent(data=new_data, source=self.plugin or self.__class__.__name__))