mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
open pipeReader as a binary file
This commit is contained in:
parent
b3b74530da
commit
4eb60dac12
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ class LogPipe(threading.Thread):
|
||||||
self.log_callback = log_callback
|
self.log_callback = log_callback
|
||||||
|
|
||||||
self.fdRead, self.fdWrite = os.pipe()
|
self.fdRead, self.fdWrite = os.pipe()
|
||||||
self.pipeReader = os.fdopen(self.fdRead)
|
self.pipeReader = os.fdopen(self.fdRead, "rb")
|
||||||
|
|
||||||
self.queue = queue
|
self.queue = queue
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue