From cddd740666463ea08cd3a1d825fd01e84506e0b7 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 29 Apr 2018 16:26:12 +0200 Subject: [PATCH] Removed reference to self.device in backend.serial --- platypush/backend/serial/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/backend/serial/__init__.py b/platypush/backend/serial/__init__.py index 59e61b86..2ecd5ba4 100644 --- a/platypush/backend/serial/__init__.py +++ b/platypush/backend/serial/__init__.py @@ -24,7 +24,7 @@ class SerialBackend(Backend): while not self.should_stop(): new_data = self.get_data() if self.data is None or self.data != new_data: - self.bus.post(SerialDataEvent(data=new_data, device=self.device)) + self.bus.post(SerialDataEvent(data=new_data)) self.data = new_data