fixup: set a default value for the local

This commit is contained in:
tcely authored and GitHub committed 2025-06-08 06:50:47 -04:00
1 parent 54932f4951
commit 9575185bbd
1 file changed
+1
+1
View File
@@ -34,6 +34,7 @@ def timedelta(value, arg=None, /, *, fmt_2=None):
else:
seconds_total = value
dynamic_arg = False
if arg is None:
if seconds_total < 1.0:
return f'{seconds_total:.6f} seconds'