varname typo fix

This commit is contained in:
Fabio Manganiello 2022-01-17 16:39:40 +01:00
parent 0c423e3809
commit c534adf31f
Signed by: blacklight
GPG Key ID: D90FBA7F76362774
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ class SensorBackend(Backend):
plugin.close()
def process_data(self, data, new_data):
if new_data is not None and data not in ({}, []):
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__))
def run(self):