From ab7616670f40f0bcdcad3e24f1d40df5d6332742 Mon Sep 17 00:00:00 2001 From: Firepup Sixfifty Date: Tue, 14 Nov 2023 15:43:41 -0600 Subject: [PATCH] This check breaks otherwise. --- logs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logs.py b/logs.py index cc3d543..84ff121 100644 --- a/logs.py +++ b/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