From 4f19cd1324e28a48a9f0b67b119a539f82ad3fd4 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 29 Apr 2018 16:17:09 +0200 Subject: [PATCH] Removed old reference to serial.Serial --- platypush/backend/serial/__init__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/platypush/backend/serial/__init__.py b/platypush/backend/serial/__init__.py index 35d9049543..59e61b86e2 100644 --- a/platypush/backend/serial/__init__.py +++ b/platypush/backend/serial/__init__.py @@ -19,9 +19,7 @@ class SerialBackend(Backend): def run(self): super().run() - - self.serial = serial.Serial(self.device, self.baud_rate) - logging.info('Initialized serial backend on device {}'.format(self.device)) + logging.info('Initialized serial backend') while not self.should_stop(): new_data = self.get_data()