Fixed borked logging statement
This commit is contained in:
parent
204d66f3cc
commit
19e6d3f35e
1 changed files with 1 additions and 1 deletions
|
|
@ -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!")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue