mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Fix for the new refactoring in callbacks.
This commit is contained in:
parent
aff8f8636e
commit
ee7ca1668c
@ -86,9 +86,9 @@ class RSS(callbacks.Plugin):
|
|||||||
feeds = self.registryValue('announce', channel)
|
feeds = self.registryValue('announce', channel)
|
||||||
for name in feeds:
|
for name in feeds:
|
||||||
commandName = callbacks.canonicalName(name)
|
commandName = callbacks.canonicalName(name)
|
||||||
if self.isCommand(commandName):
|
if self.isCommandMethod(commandName):
|
||||||
name = commandName
|
name = commandName
|
||||||
url = self.getCommandMethod(name).url
|
url = getattr(self, name).url
|
||||||
else:
|
else:
|
||||||
url = name
|
url = name
|
||||||
if self.willGetNewFeed(url):
|
if self.willGetNewFeed(url):
|
||||||
|
Loading…
Reference in New Issue
Block a user