jp (base): fixed connection when start_session arg exists but is False
This commit is contained in:
parent
05b59775d0
commit
cee59f42ae
1 changed files with 1 additions and 1 deletions
|
|
@ -681,7 +681,7 @@ class Jp(object):
|
||||||
if not self.args.connect:
|
if not self.args.connect:
|
||||||
log.error(_(u"Session for [{profile}] is not started, please start it before using jp, or use either --start-session or --connect option").format(profile=self.profile))
|
log.error(_(u"Session for [{profile}] is not started, please start it before using jp, or use either --start-session or --connect option").format(profile=self.profile))
|
||||||
self.quit(1)
|
self.quit(1)
|
||||||
else:
|
elif not getattr(self.args, "connect", False):
|
||||||
callback()
|
callback()
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue