Fix log timestamps

This commit is contained in:
Firepup Sixfifty 2023-11-05 16:20:13 -06:00
parent 9058e88ce3
commit 007f8e0449
Signed by: Firepup650
GPG key ID: 7C92E2ABBBFAB9BA

View file

@ -11,7 +11,7 @@ def log(
else: else:
stream = stdout stream = stdout
if time == "now": if time == "now":
dt.now() time = dt.now()
if not "\n" in message: if not "\n" in message:
print(f"[{level}][{origin}][{time}] {message}") print(f"[{level}][{origin}][{time}] {message}")
else: else: