From 8ace73da712bd020146e80c8a3821f79dd53384a Mon Sep 17 00:00:00 2001 From: kali Date: Thu, 31 Jan 2013 23:59:57 +0900 Subject: fix exception message attribute --- src/leap/gui/firstrun/providersetup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/leap/gui/firstrun/providersetup.py b/src/leap/gui/firstrun/providersetup.py index 47060f6e..157a5183 100644 --- a/src/leap/gui/firstrun/providersetup.py +++ b/src/leap/gui/firstrun/providersetup.py @@ -118,7 +118,7 @@ class ProviderSetupValidationPage(ValidationPage): except requests.exceptions.SSLError as exc: return self.fail("Validation Error") except Exception as exc: - return self.fail(exc.msg) + return self.fail(exc.message) else: return True -- cgit v1.2.3