Mercurial > libervia-backend
diff frontends/src/jp/base.py @ 2142:be96beb7ca14
core, bridge, frontends: renamed asyncConnect to connect, and added options parameters (not used yet)
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 06 Feb 2017 22:54:43 +0100 |
parents | 469702b46768 |
children | fff88c33442f |
line wrap: on
line diff
--- a/frontends/src/jp/base.py Mon Feb 06 20:51:56 2017 +0100 +++ b/frontends/src/jp/base.py Mon Feb 06 22:54:43 2017 +0100 @@ -482,7 +482,7 @@ # a profile can be present without connect option (e.g. on profile creation/deletion) return elif self.args.connect is True: # if connection is asked, we connect the profile - self.bridge.asyncConnect(self.profile, self.args.pwd, lambda dummy: callback(), cant_connect) + self.bridge.connect(self.profile, self.args.pwd, {}, lambda dummy: callback(), cant_connect) self._auto_loop = True return else: