diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2016-12-09 15:16:49 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2016-12-09 15:16:49 +0100 |
| commit | b1afb25a11344f72c8c574d8b48fe1a76520c8c4 (patch) | |
| tree | 3301f1731cf194c735267db3c3789bbf3fdec616 | |
| parent | c2ac816d3c153ebc2de69074c3b6410296b94efb (diff) | |
| download | Vainbot-b1afb25a11344f72c8c574d8b48fe1a76520c8c4.tar.gz Vainbot-b1afb25a11344f72c8c574d8b48fe1a76520c8c4.zip | |
dates - lower/greater -> l/g equal
| -rw-r--r-- | main.py | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -78,19 +78,19 @@ async def search_teammates(who, query, notify=True): "$or": [ { "start": { - "$gt": start, - "$lt": end + "$gte": start, + "$lte": end } }, { "end": { - "$gt": start, - "$lt": end + "$gte": start, + "$lte": end } }, { - "start": {"$lt": start}, - "end": {"$gt": end} + "start": {"$lte": start}, + "end": {"$gte": end} } ] } |
