Replace getCurDisplayRoot() by getCurDisplayPath()
This commit is contained in:
@@ -25,7 +25,7 @@ class IWLADisplayTopDownloads(IPlugin):
|
||||
title = time.strftime('Top Downloads - %B %Y', self.iwla.getCurTime())
|
||||
|
||||
filename = 'top_downloads.html'
|
||||
path = '%s/%s' % (self.iwla.getCurDisplayRoot(), filename)
|
||||
path = self.iwla.getCurDisplayPath(filename)
|
||||
|
||||
page = DisplayHTMLPage(title, path)
|
||||
table = DisplayHTMLBlockTable('All Downloads', ['URI', 'Hit'])
|
||||
|
||||
Reference in New Issue
Block a user