Mercurial > libervia-backend
diff sat_frontends/jp/base.py @ 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 | 0bed6df9ee5d |
children | ab37d1c7c38c |
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