Removed old reference to serial.Serial

This commit is contained in:
Fabio Manganiello 2018-04-29 16:17:09 +02:00
parent a907c9ad63
commit 4f19cd1324

View file

@ -19,9 +19,7 @@ class SerialBackend(Backend):
def run(self): def run(self):
super().run() super().run()
logging.info('Initialized serial backend')
self.serial = serial.Serial(self.device, self.baud_rate)
logging.info('Initialized serial backend on device {}'.format(self.device))
while not self.should_stop(): while not self.should_stop():
new_data = self.get_data() new_data = self.get_data()