This commit is contained in:
Fred Boniface 2023-06-04 23:40:20 +01:00
parent 1588f3c86c
commit e52ec43939

View File

@ -207,5 +207,6 @@ def _removeOutdatedServices():
"$lte": datetime.now() "$lte": datetime.now()
} }
} }
## Important to actually call delete here!!!!
postCount = mongo.getLength("timetable") postCount = mongo.getLength("timetable")
log.out(f"timetable._removeOutdatedServices: Removed {preCount - postCount} out of date services", "DBUG") log.out(f"timetable._removeOutdatedServices: Removed {preCount - postCount} out of date services", "DBUG")