diff options
Diffstat (limited to 'gnowsys-ndf/gnowsys_ndf/benchmarker/benchmarkreport.py')
-rw-r--r-- | gnowsys-ndf/gnowsys_ndf/benchmarker/benchmarkreport.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnowsys-ndf/gnowsys_ndf/benchmarker/benchmarkreport.py b/gnowsys-ndf/gnowsys_ndf/benchmarker/benchmarkreport.py index 9fa9c01..d25eebe 100644 --- a/gnowsys-ndf/gnowsys_ndf/benchmarker/benchmarkreport.py +++ b/gnowsys-ndf/gnowsys_ndf/benchmarker/benchmarkreport.py @@ -10,13 +10,13 @@ import json ''' db = get_database() col = db[Benchmark.collection_name] - + def report(request): date1=datetime.date.today() ti=time(0,0) listofmethods = [] Today=datetime.datetime.combine(date1,ti) - bench_cur = col.find({'last_update':{'$gte':Today}}).sort('last_update', -1).sort('time_taken',-1) + bench_cur = col.find({'last_update':{'$gte':Today}}).sort('last_update', -1) search_cur = [] if request.method == "POST": |