Fix typo error in getCurrentVisits() method name

This commit is contained in:
Gregory Soutade
2016-02-04 20:44:36 +01:00
parent 992c3cee93
commit 79da471398
11 changed files with 11 additions and 11 deletions

View File

@@ -85,7 +85,7 @@ class IWLAPostAnalysisFeeds(IPlugin):
hit['feed_parser'] = isFeedParser
def hook(self):
hits = self.iwla.getCurrentVisists()
hits = self.iwla.getCurrentVisits()
one_hit_only = {}
for hit in hits.values():
isFeedParser = hit.get('feed_parser', None)

View File

@@ -62,7 +62,7 @@ class IWLAPostAnalysisHoursStats(IPlugin):
self.API_VERSION = 1
def hook(self):
stats = self.iwla.getCurrentVisists()
stats = self.iwla.getCurrentVisits()
month_stats = self.iwla.getMonthStats()
hours_stats = month_stats.get('hours_stats', {})

View File

@@ -120,7 +120,7 @@ class IWLAPostAnalysisReferers(IPlugin):
break
def hook(self):
stats = self.iwla.getCurrentVisists()
stats = self.iwla.getCurrentVisits()
month_stats = self.iwla.getMonthStats()
referers = month_stats.get('referers', {})

View File

@@ -64,7 +64,7 @@ class IWLAPostAnalysisReverseDNS(IPlugin):
return True
def hook(self):
hits = self.iwla.getCurrentVisists()
hits = self.iwla.getCurrentVisits()
for (k, hit) in hits.items():
if hit.get('dns_analysed', False): continue
if not hit['feed_parser'] and\

View File

@@ -53,7 +53,7 @@ class IWLAPostAnalysisTopHits(IPlugin):
self.API_VERSION = 1
def hook(self):
stats = self.iwla.getCurrentVisists()
stats = self.iwla.getCurrentVisits()
month_stats = self.iwla.getMonthStats()
top_hits = month_stats.get('top_hits', {})

View File

@@ -59,7 +59,7 @@ class IWLAPostAnalysisTopPages(IPlugin):
return True
def hook(self):
stats = self.iwla.getCurrentVisists()
stats = self.iwla.getCurrentVisits()
month_stats = self.iwla.getMonthStats()
top_pages = month_stats.get('top_pages', {})