diff --git a/robots/little_john/telemetry/code/monitor/graph_plotter_rewrite.py b/robots/little_john/telemetry/code/monitor/graph_plotter_rewrite.py index 728ff3f..35d2f07 100755 --- a/robots/little_john/telemetry/code/monitor/graph_plotter_rewrite.py +++ b/robots/little_john/telemetry/code/monitor/graph_plotter_rewrite.py @@ -27,10 +27,10 @@ logging.info("Logging system active") datafeed = selectserial() -if datafeed == None: +if datafeed == 'Sorry, no serial devices found.' or None: logging.critical("Failed to open serial port") sys.exit() - + if platform.system()=='Windows': os='Windows' else: -- libgit2 0.21.2