forked from Firepup650/FireBot
This check breaks otherwise.
This commit is contained in:
parent
5c79e1e1a3
commit
ab7616670f
1 changed files with 1 additions and 1 deletions
2
logs.py
2
logs.py
|
@ -16,7 +16,7 @@ def log(
|
|||
stream = stdout
|
||||
if time == "now":
|
||||
dtime = dt.now()
|
||||
if type(time) == str:
|
||||
elif type(time) == str:
|
||||
raise ValueError("Only \"now\" is an accepted string argument for time")
|
||||
else:
|
||||
dtime = time # type: dt #type: ignore
|
||||
|
|
Loading…
Reference in a new issue