Fix string comparison

This commit is contained in:
Russell Schmidt
2025-02-03 18:55:02 -06:00
parent 313c13a96a
commit 586724662d
+1 -1
View File
@@ -110,7 +110,7 @@ def get_time_ago(timestamp):
delta = now - dt
value, unit = get_time_val_units(delta)
if unit is not "s":
if unit != "s":
return f"{value} {unit} ago"
return "now"