Merge pull request #114 from rfschmid/fix-string-comparison-issue

Fix string comparison
This commit is contained in:
pdxlocations
2025-02-03 17:32:54 -08:00
committed by GitHub
+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"