Commit 752bb5f7 authored by Federico Sismondi's avatar Federico Sismondi

small fix

parent 388e6bb9
......@@ -158,6 +158,7 @@ For more information, visit: http://doc.f-interop.eu
log.info("Try to connect with %s" % data)
if serial:
self.plugins["core"] = CoreConnector(**data)
self.plugins["serial"] = SerialConnector(**data)
else:
self.plugins["core"] = CoreConnector(**data)
......
......@@ -22,10 +22,10 @@ class SerialConsumer(BaseConsumer):
def __init__(self, user, password, session, server, exchange, name, consumer_name):
super(SerialConsumer, self).__init__(user, password, session, server, exchange, name, consumer_name)
self.bootstrap()
self.message_count = 0
self.output = ''
self.serial_listener = None
self.bootstrap()
def bootstrap(self):
self.serial_port = None
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment