mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-13 10:34:28 +05:00
fix(gcode_shell_command): py3 virtual env compatibility (#175)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user