This check breaks otherwise.

This commit is contained in:
Firepup Sixfifty 2023-11-14 15:43:41 -06:00
parent 5c79e1e1a3
commit ab7616670f
Signed by: Firepup650
GPG key ID: 7C92E2ABBBFAB9BA

View file

@ -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