This commit is contained in:
Gregory Soutade
2014-11-20 09:37:54 +01:00
parent 8c7f135741
commit 8ba8c99b3c
2 changed files with 9 additions and 14 deletions

View File

@@ -11,9 +11,9 @@ def hook(hits):
referers = 0
# 1) no pages view --> robot
if not super_hit['viewed_pages']:
super_hit['robot'] = 1
continue
# if not super_hit['viewed_pages']:
# super_hit['robot'] = 1
# continue
# 2) pages without hit --> robot
if not super_hit['viewed_hits']: