diff frontends/quick_frontend/quick_app.py @ 18:6928e3cb73a8

refactoring: using xml params part II
author Goffi <goffi@goffi.org>
date Fri, 06 Nov 2009 23:31:00 +0100
parents bd9e9997d540
children bb72c29f3432
line wrap: on
line diff
--- a/frontends/quick_frontend/quick_app.py	Fri Nov 06 19:48:57 2009 +0100
+++ b/frontends/quick_frontend/quick_app.py	Fri Nov 06 23:31:00 2009 +0100
@@ -42,8 +42,8 @@
         self.bridge.register("askConfirmation", self.askConfirmation, "request")
         
         ###now we get the essential params###
-        self.whoami=JID(self.bridge.getParam("JabberID","Connection")[0])
-        self.watched=self.bridge.getParam("Watched", "Misc")[0].split() #TODO: put this in a plugin
+        self.whoami=JID(self.bridge.getParamV("JabberID","Connection"))
+        self.watched=self.bridge.getParamV("Watched", "Misc").split() #TODO: put this in a plugin
 
         ## misc ##
         self.onlineContact = set()  #FIXME: temporary