mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
revert readall change since it didn't work
This commit is contained in:
parent
5230a7ddc3
commit
62cac66e8e
@ -71,7 +71,7 @@ class ServerOutBuf:
|
|||||||
# TODO: we may want to benchmark reading in blocks and userspace processing it later, reads are kind of expensive as a syscall
|
# TODO: we may want to benchmark reading in blocks and userspace processing it later, reads are kind of expensive as a syscall
|
||||||
self.process_byte(char)
|
self.process_byte(char)
|
||||||
else:
|
else:
|
||||||
flush = self.proc.stdout.readall().decode('utf-8')
|
flush = self.proc.stdout.read().decode('utf-8')
|
||||||
for char in flush:
|
for char in flush:
|
||||||
self.process_byte(char)
|
self.process_byte(char)
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user