mirror of
https://github.com/powerline/powerline.git
synced 2025-07-27 07:44:36 +02:00
Merge pull request #1026 from ZyX-I/no-daemon-zero-byte
Do not make daemon output zero byte
This commit is contained in:
commit
dc1d50bc8f
@ -137,7 +137,7 @@ def do_read(conn, timeout=2.0):
|
|||||||
|
|
||||||
def do_write(conn, result):
|
def do_write(conn, result):
|
||||||
try:
|
try:
|
||||||
eintr_retry_call(conn.sendall, result + b'\0')
|
eintr_retry_call(conn.sendall, result)
|
||||||
except Exception:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user