Mercurial > libervia-backend
changeset 2692:7d4679ee7ded
jp (base): fixed connection when start_session arg exists but is False
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 18 Nov 2018 15:49:55 +0100 |
parents | 1ecceac3df96 |
children | f64f1158a26e |
files | sat_frontends/jp/base.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/sat_frontends/jp/base.py Sun Nov 18 15:49:46 2018 +0100 +++ b/sat_frontends/jp/base.py Sun Nov 18 15:49:55 2018 +0100 @@ -681,7 +681,7 @@ 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)) self.quit(1) - else: + elif not getattr(self.args, "connect", False): callback() return