This commit is contained in:
Auric Vente 2024-07-20 05:43:55 -06:00
parent f46be0a809
commit e763b4c811
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ class Ants:
now = Utils.now() now = Utils.now()
mins = 10 * 60 mins = 10 * 60
# Filter ants where updated is older than 10 minutes # Filter ants where updated is older than 10 minutes
ants = [a for a in Ants.ants if (now - a.updated) > mins] ants = [a for a in Ants.ants if (now - a.updated) >= mins]
if not len(ants): if not len(ants):
ants = Ants.ants ants = Ants.ants