diff --git a/iwla.py b/iwla.py index 4db29b4..8cfd6ed 100755 --- a/iwla.py +++ b/iwla.py @@ -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