mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 06:49:24 +01:00
Fix potential bug due to mutability of lists as default argument.
This commit is contained in:
parent
3ce6ea189d
commit
d73de5e512
@ -240,7 +240,7 @@ class RSS(callbacks.Plugin):
|
|||||||
particular feed.""")))
|
particular feed.""")))
|
||||||
|
|
||||||
def register_feed(self, name, url, initial,
|
def register_feed(self, name, url, initial,
|
||||||
plugin_is_loading, announced=[]):
|
plugin_is_loading, announced=None):
|
||||||
self.feed_names[name] = url
|
self.feed_names[name] = url
|
||||||
self.feeds[url] = Feed(name, url, initial,
|
self.feeds[url] = Feed(name, url, initial,
|
||||||
plugin_is_loading, announced)
|
plugin_is_loading, announced)
|
||||||
|
Loading…
Reference in New Issue
Block a user