diff options
author | kali <kali@leap.se> | 2012-12-18 06:12:52 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2012-12-18 06:12:52 +0900 |
commit | 9d2869d9b9abdcf4e63705e659fa4369137a428e (patch) | |
tree | b13a75d7bb2ea9ad8e0dbd663bac93ce83521e40 /src/leap/gui/firstrun | |
parent | ef3e6f7badf4d477e796f8522b4d79b554f18f93 (diff) |
added current_page
Diffstat (limited to 'src/leap/gui/firstrun')
-rw-r--r-- | src/leap/gui/firstrun/regvalidation.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/leap/gui/firstrun/regvalidation.py b/src/leap/gui/firstrun/regvalidation.py index aeb98204..b86583e0 100644 --- a/src/leap/gui/firstrun/regvalidation.py +++ b/src/leap/gui/firstrun/regvalidation.py @@ -29,6 +29,7 @@ class RegisterUserValidationPage(ValidationPage): def __init__(self, parent=None): super(RegisterUserValidationPage, self).__init__(parent) + self.current_page = "signupvalidation" title = "Connecting..." # XXX uh... really? @@ -132,7 +133,8 @@ class RegisterUserValidationPage(ValidationPage): if self.is_done(): full_domain = self.field('provider_domain') domain, port = get_https_domain_and_port(full_domain) - _domain = u"%s:%s" % (domain, port) if port != 443 else unicode(domain) + _domain = u"%s:%s" % ( + domain, port) if port != 443 else unicode(domain) self.run_eip_checks_for_provider_and_connect(_domain) def run_eip_checks_for_provider_and_connect(self, domain): |