mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
fixed analytics issue
This commit is contained in:
@@ -189,7 +189,7 @@ class StatsApi(BaseApi):
|
||||
date_cache = {}
|
||||
for item in cur:
|
||||
date_cache[item['_id']] = {
|
||||
'duration': item['duration'] / 1000,
|
||||
'duration': (item['duration'] or 0) / 1000,
|
||||
'count': item['count']
|
||||
}
|
||||
start_date = datetime.now() - timedelta(31)
|
||||
|
||||
Reference in New Issue
Block a user