Commit 61fa76d2 authored by Ralf's avatar Ralf
Browse files

Fix log spacing

parent a047cdf4
......@@ -20,5 +20,6 @@ def send_async(conn, data):
def log_file(file, *args, clock=False):
prefix ="%Y-%m-%d %H:%M:%S: ") if clock else ""
print(prefix, *args, file=file, flush=True)
if clock:
print("%Y-%m-%d %H:%M:%S: "), end="", file=file)
print(*args, file=file, flush=True)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment