core: importParams renamed to updateParams: it now updates the parameter instead of appending children if it find an existing one.
This commit is contained in:
parent
a96bbad148
commit
bd7f2d6e84
7 changed files with 15 additions and 10 deletions
|
|
@ -69,7 +69,7 @@ class CS_Plugin(object):
|
|||
info(_("Plugin CS initialization"))
|
||||
self.host = host
|
||||
#parameters
|
||||
host.memory.importParams(CS_Plugin.params)
|
||||
host.memory.updateParams(CS_Plugin.params)
|
||||
#menu
|
||||
host.importMenu(_("Plugin"), "CouchSurfing", self.menuSelected, help_string=_("Launch CoushSurfing management interface"))
|
||||
self.data = {} # TODO: delete cookies/data after a while
|
||||
|
|
|
|||
Loading…
Reference in a new issue