Fix typo error in getCurrentVisits() method name
This commit is contained in:
@@ -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)
|
||||
|
@@ -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', {})
|
||||
|
@@ -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', {})
|
||||
|
@@ -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\
|
||||
|
@@ -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', {})
|
||||
|
@@ -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', {})
|
||||
|
Reference in New Issue
Block a user