Merge branch 'master' of soutade.fr:iwla

This commit is contained in:
Gregory Soutade 2014-12-18 07:50:28 +01:00
commit 01a4841617

View File

@ -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