summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.py b/main.py
index e72b52f..18314ae 100644
--- a/main.py
+++ b/main.py
@@ -27,7 +27,7 @@ def cleanup():
db.usercache.remove({
"date": {"$lt": now - datetime.timedelta(minutes=30)}
})
- db.playwithme.find({
+ db.playwithme.remove({
"end": {"$lt": now}
})