Compare commits
1 Commits
a2354c2ba7
...
32e4769366
Author | SHA1 | Date | |
---|---|---|---|
|
32e4769366 |
BIN
dist/Zhurnal-1.4.37-py3-none-any.whl
vendored
BIN
dist/Zhurnal-1.4.37-py3-none-any.whl
vendored
Binary file not shown.
BIN
dist/zhurnal-1.4.37.tar.gz
vendored
BIN
dist/zhurnal-1.4.37.tar.gz
vendored
Binary file not shown.
@ -253,7 +253,7 @@ class Zhurnal(web.Application):
|
|||||||
time_elapsed = round(
|
time_elapsed = round(
|
||||||
time_previous and time_current - time_previous or 0, 4
|
time_previous and time_current - time_previous or 0, 4
|
||||||
)
|
)
|
||||||
decoded_line = line.decode("utf-8", "ignore").strip()
|
decoded_line = line.decode("utf-8", "replace").strip()
|
||||||
print(decoded_line)
|
print(decoded_line)
|
||||||
decoded_line = "".join(c for c in decoded_line if c.isprintable())
|
decoded_line = "".join(c for c in decoded_line if c.isprintable())
|
||||||
for client in app.clients:
|
for client in app.clients:
|
||||||
@ -292,6 +292,7 @@ class Zhurnal(web.Application):
|
|||||||
)
|
)
|
||||||
|
|
||||||
async def start_processes(self, app):
|
async def start_processes(self, app):
|
||||||
|
print(app)
|
||||||
for x, command in enumerate(self.commands):
|
for x, command in enumerate(self.commands):
|
||||||
self.processes[command] = asyncio.create_task(
|
self.processes[command] = asyncio.create_task(
|
||||||
self.run_process("process-{}".format(x), command)
|
self.run_process("process-{}".format(x), command)
|
||||||
|
Loading…
Reference in New Issue
Block a user