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 = {} 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