feat: add real-time terminal output printing to Zhurnal app websocket handler
This commit is contained in:
parent
a5cc076bf3
commit
19b306362b
@ -245,6 +245,7 @@ class Zhurnal(web.Application):
|
||||
time_elapsed = round(
|
||||
time_previous and time_current - time_previous or 0, 4
|
||||
)
|
||||
print(line.decode().strip())
|
||||
for client in app.clients:
|
||||
await client.send_str(
|
||||
json.dumps(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user