Merge branch 'master' of soutade.fr:iwla

This commit is contained in:
Grégory Soutadé 2014-12-18 19:55:19 +01:00
commit 53dc5a29fb

View File

@ -539,8 +539,8 @@ class IWLA(object):
self.valid_visitors = {}
for (k,v) in visits.items():
if v['robot']: continue
if conf.count_hit_only_visitors and\
(not v['viewed_pages']):
if not (conf.count_hit_only_visitors or\
v['viewed_pages']):
continue
self.valid_visitors[k] = v