From 6c4635fa4ecfda365859a760ab44375b7ad33ebc Mon Sep 17 00:00:00 2001 From: Alex Zellner <37265689+zellneralex@users.noreply.github.com> Date: Sat, 26 Feb 2022 19:28:06 +0100 Subject: [PATCH] fix(gcode_shell_command): py3 virtual env compatibility (#175) --- resources/gcode_shell_command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/gcode_shell_command.py b/resources/gcode_shell_command.py index 89359ea..bb38ae5 100755 --- a/resources/gcode_shell_command.py +++ b/resources/gcode_shell_command.py @@ -32,7 +32,7 @@ class ShellCommand: data = os.read(self.proc_fd, 4096) except Exception: pass - data = self.partial_output + data + data = self.partial_output + data.decode() if '\n' not in data: self.partial_output = data return