Fixed borked logging statement

This commit is contained in:
jtc42 2019-07-15 17:50:49 +01:00
parent 204d66f3cc
commit 19e6d3f35e

View file

@ -271,7 +271,7 @@ class ExtensibleSerialInstrument(object):
success = False success = False
for port_name, _, _ in serial.tools.list_ports.comports(): #loop through serial ports, apparently 256 is the limit?! for port_name, _, _ in serial.tools.list_ports.comports(): #loop through serial ports, apparently 256 is the limit?!
try: try:
logging.info("Trying port",port_name) logging.info("Trying port {}".format(port_name))
self.open(port_name) self.open(port_name)
success = True success = True
logging.info("Success!") logging.info("Success!")