core, bridge, frontends: renamed asyncConnect to connect, and added options parameters (not used yet)
This commit is contained in:
parent
6a8102b109
commit
b5f1e45d4e
1 changed files with 34 additions and 29 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue