From 19e6d3f35e4784922df1e6fc6471fc7dec08d1e4 Mon Sep 17 00:00:00 2001 From: jtc42 Date: Mon, 15 Jul 2019 17:50:49 +0100 Subject: [PATCH] Fixed borked logging statement --- .../stage/sangaboard/extensible_serial_instrument.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openflexure_microscope/stage/sangaboard/extensible_serial_instrument.py b/openflexure_microscope/stage/sangaboard/extensible_serial_instrument.py index 63611627..15d9a4a3 100644 --- a/openflexure_microscope/stage/sangaboard/extensible_serial_instrument.py +++ b/openflexure_microscope/stage/sangaboard/extensible_serial_instrument.py @@ -271,7 +271,7 @@ class ExtensibleSerialInstrument(object): success = False for port_name, _, _ in serial.tools.list_ports.comports(): #loop through serial ports, apparently 256 is the limit?! try: - logging.info("Trying port",port_name) + logging.info("Trying port {}".format(port_name)) self.open(port_name) success = True logging.info("Success!")