chore: replace all occurrences of 'replace' with 'ignore' in project files

This commit is contained in:
retoor 2024-12-01 05:18:19 +00:00
parent 01b52664cd
commit cac684e610

View File

@ -253,7 +253,7 @@ class Zhurnal(web.Application):
time_elapsed = round(
time_previous and time_current - time_previous or 0, 4
)
decoded_line = line.decode("utf-8", "replace").strip()
decoded_line = line.decode("utf-8", "ignore").strip()
print(decoded_line)
decoded_line = "".join(c for c in decoded_line if c.isprintable())
for client in app.clients:
@ -292,7 +292,6 @@ class Zhurnal(web.Application):
)
async def start_processes(self, app):
print(app)
for x, command in enumerate(self.commands):
self.processes[command] = asyncio.create_task(
self.run_process("process-{}".format(x), command)