diff --git a/python_files/python_server.py b/python_files/python_server.py index ebcb67d22a5e..1689d9b8f7f9 100644 --- a/python_files/python_server.py +++ b/python_files/python_server.py @@ -163,7 +163,7 @@ def get_value(self) -> str: def get_headers(): headers = {} while True: - line = STDIN.readline().strip() + line = STDIN.buffer.readline().decode().strip() if not line: break name, value = line.split(":", 1)