Commit 19d129d2 authored by Constantin's avatar Constantin
Browse files

Merge branch 'master' of

parents 70db79db 61fa76d2
......@@ -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