Bug in valid visitor creation and count_hit_only_visitors
This commit is contained in:
parent
a74a6b8469
commit
4363c90197
4
iwla.py
4
iwla.py
|
@ -520,8 +520,8 @@ class IWLA(object):
|
||||||
self.valid_visitors = {}
|
self.valid_visitors = {}
|
||||||
for (k,v) in visits.items():
|
for (k,v) in visits.items():
|
||||||
if v['robot']: continue
|
if v['robot']: continue
|
||||||
if conf.count_hit_only_visitors and\
|
if not (conf.count_hit_only_visitors or\
|
||||||
(not v['viewed_pages']):
|
v['viewed_pages']):
|
||||||
continue
|
continue
|
||||||
self.valid_visitors[k] = v
|
self.valid_visitors[k] = v
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user