Plugins management seems ok
This commit is contained in:
@@ -17,6 +17,11 @@ def load():
|
||||
|
||||
def hook(iwla):
|
||||
stats = iwla.getMonthStats()
|
||||
|
||||
if not 'top_visitors' in stats.keys():
|
||||
print 'Top visitors post analysis plugin not installed'
|
||||
return
|
||||
|
||||
index = iwla.getDisplayIndex()
|
||||
table = DisplayHTMLBlockTable('Top visitors', ['Host', 'Pages', 'Hits', 'Bandwidth', 'Last seen'])
|
||||
for super_hit in stats['top_visitors']:
|
||||
|
Reference in New Issue
Block a user