Commit e7ede1bc authored by Federico Sismondi's avatar Federico Sismondi
Browse files

ser.open not necesary, as init does it on its own

parent f9b518cd
......@@ -53,11 +53,6 @@ class SerialListener(object):
log.error('Does dev %s exist?' % serial_port)
sys.exit(1)
try:
self.ser.open()
except Exception as e:
log.error(e)
try:
self.ser.flushInput()
except Exception as e:
......
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