diff --git a/utilities/utils.py b/utilities/utils.py index c7d2aa2..1aeaf9c 100644 --- a/utilities/utils.py +++ b/utilities/utils.py @@ -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"