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:
stream = stdout
if time == "now":
dt.now()
time = dt.now()
if not "\n" in message:
print(f"[{level}][{origin}][{time}] {message}")
else: