mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-26 20:59:27 +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.""")))
|
||||
|
||||
def register_feed(self, name, url, initial,
|
||||
plugin_is_loading, announced=[]):
|
||||
plugin_is_loading, announced=None):
|
||||
self.feed_names[name] = url
|
||||
self.feeds[url] = Feed(name, url, initial,
|
||||
plugin_is_loading, announced)
|
||||
|
Loading…
Reference in New Issue
Block a user