forked from Firepup650/FireBot
Fix log timestamps
This commit is contained in:
parent
9058e88ce3
commit
007f8e0449
1 changed files with 1 additions and 1 deletions
2
logs.py
2
logs.py
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue