Replace getCurDisplayRoot() by getCurDisplayPath()

This commit is contained in:
Grégory Soutadé
2014-11-27 14:29:25 +01:00
parent ce4bca056d
commit 02233f2f37
6 changed files with 11 additions and 11 deletions

View File

@@ -18,7 +18,7 @@ class IWLADisplayAllVisits(IPlugin):
title = time.strftime('All visits - %B %Y', self.iwla.getCurTime())
filename = 'all_visits.html'
path = '%s/%s' % (self.iwla.getCurDisplayRoot(), filename)
path = self.iwla.getCurDisplayPath(filename)
page = DisplayHTMLPage(title, path)
table = DisplayHTMLBlockTable('Last seen', ['Host', 'Pages', 'Hits', 'Bandwidth', 'Last seen'])