mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-14 11:04:29 +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)
|
data = os.read(self.proc_fd, 4096)
|
||||||
except Exception:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
data = self.partial_output + data
|
data = self.partial_output + data.decode()
|
||||||
if '\n' not in data:
|
if '\n' not in data:
|
||||||
self.partial_output = data
|
self.partial_output = data
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user