Need to separate day and month stats

This commit is contained in:
2014-11-19 21:37:37 +01:00
parent 53452fa4c3
commit b8027fe509
3 changed files with 74 additions and 30 deletions

View File

@@ -15,5 +15,6 @@ def hook(hits):
if not p['is_page']: continue
if logo_re.match(p['extract_request']['extract_uri']):
p['is_page'] = False
super_hit['viewed_pages'] -= 1
super_hit['viewed_hits'] += 1
if super_hit['viewed_pages']:
super_hit['viewed_pages'] -= 1
super_hit['viewed_hits'] += 1