diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2016-12-03 19:02:38 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2016-12-03 19:02:38 +0100 |
| commit | fd902d774ccea4adc3af2d9c649f70cb1f9910a1 (patch) | |
| tree | 06ec5455199c2908a74a530e8b77257eabd246cc /main.py | |
| parent | a066ea6fbbebbe353d0a673de5558d24fd889f2f (diff) | |
| download | Vainbot-fd902d774ccea4adc3af2d9c649f70cb1f9910a1.tar.gz Vainbot-fd902d774ccea4adc3af2d9c649f70cb1f9910a1.zip | |
fix typo and properly clean database
Diffstat (limited to 'main.py')
| -rw-r--r-- | main.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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} }) |
