Use raw write to log to omit newlines per page output

This commit is contained in:
Oleksii Shevchuk 2017-01-05 23:27:15 +02:00
parent 2931b7053a
commit 9b8c682201
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ class PExec(PupyModule):
close_event = threading.Event() close_event = threading.Event()
def on_read(data): def on_read(data):
self.log(data) self.stdout.write(data)
if not self.terminate.is_set(): if not self.terminate.is_set():
log.write(data) log.write(data)