misc/cwdesklets/rqlsensor/__init__.py
branchstable
changeset 2388 fddb0fd11321
parent 1977 606923dff11b
child 4212 ab6573088b4a
--- a/misc/cwdesklets/rqlsensor/__init__.py	Thu Jul 16 13:53:33 2009 +0200
+++ b/misc/cwdesklets/rqlsensor/__init__.py	Fri Jul 17 08:17:39 2009 +0200
@@ -65,7 +65,7 @@
             return self._v_cnx
         except AttributeError:
             appid, user, passwd = self._get_config("appid"), self._get_config("user"), self._get_config("passwd")
-            cnx = connect(database=appid, user=user, password=passwd)
+            cnx = connect(database=appid, login=user, password=passwd)
             self._v_cnx = cnx
             return cnx