Forgot to remove robots from visitors in days statistics
This commit is contained in:
parent
59e234b9bf
commit
caeab70ca6
3
iwla.py
3
iwla.py
|
@ -533,7 +533,8 @@ class IWLA(object):
|
|||
else:
|
||||
stats['viewed_hits'] += 1
|
||||
if (conf.count_hit_only_visitors or\
|
||||
viewed_pages):
|
||||
viewed_pages) and\
|
||||
not super_hit['robot']:
|
||||
stats['nb_visitors'] += 1
|
||||
|
||||
print "== Stats for %d/%02d/%d ==" % (cur_time.tm_year, cur_time.tm_mon, cur_time.tm_mday)
|
||||
|
|
Loading…
Reference in New Issue
Block a user