diff --git a/tools/test-run-dev b/tools/test-run-dev index 204ca83a42..9be38c698a 100755 --- a/tools/test-run-dev +++ b/tools/test-run-dev @@ -17,13 +17,13 @@ TOOLS_DIR = os.path.dirname(os.path.abspath(__file__)) def start_server(logfile_name: str) -> Tuple[bool, str]: failure = True - key = "Quit the server with CTRL-C." + key = "Quit the server with CONTROL-C." datalog = [] - with open(logfile_name, "r", buffering=0) as logfile: + with open(logfile_name, "rb", buffering=0) as logfile: for i in range(200): time.sleep(0.5) print(f"{i}. Polling run-dev...") - new_data = logfile.read() + new_data = logfile.read().decode() if new_data: datalog.append(new_data)