core, bridge, frontends: renamed asyncConnect to connect, and added options parameters (not used yet)

This commit is contained in:
Goffi 2017-02-06 22:54:43 +01:00
commit b5f1e45d4e

View file

@ -482,7 +482,7 @@ class Jp(object):
# 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: