diff src/plugins/deprecated_misc_cs.py @ 662:4f747d7fde8c

core: importParams renamed to updateParams: it now updates the parameter instead of appending children if it find an existing one.
author Goffi <goffi@goffi.org>
date Thu, 31 Oct 2013 17:14:15 +0100
parents 84a6e83157c2
children bfabeedbf32e
line wrap: on
line diff
--- a/src/plugins/deprecated_misc_cs.py	Tue Oct 15 23:10:31 2013 +0200
+++ b/src/plugins/deprecated_misc_cs.py	Thu Oct 31 17:14:15 2013 +0100
@@ -69,7 +69,7 @@
         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