summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2014-03-27 17:15:57 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2014-04-15 15:00:08 -0300
commit540a37766e9bdb1f4d533529734308a91c42f0d2 (patch)
tree9ee4506660e570b103c95ca5c63f64df0fdd6fe7
parent03c58451eaf8904346148835b0c3460deae28c3e (diff)
Fix: use signal's keys instead of qt signals.
-rw-r--r--src/leap/bitmask/backend.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/bitmask/backend.py b/src/leap/bitmask/backend.py
index 6b168d5d..e179b7d5 100644
--- a/src/leap/bitmask/backend.py
+++ b/src/leap/bitmask/backend.py
@@ -244,7 +244,7 @@ class Register(object):
partial(srpregister.register_user, username, password))
else:
if self._signaler is not None:
- self._signaler.signal(self._signaler.srp_registration_failed)
+ self._signaler.signal(self._signaler.SRP_REGISTRATION_FAILED)
logger.error("Could not load provider configuration.")
@@ -289,7 +289,7 @@ class Authenticate(object):
return self._login_defer
else:
if self._signaler is not None:
- self._signaler.signal(self._signaler.srp_auth_error)
+ self._signaler.signal(self._signaler.SRP_AUTH_ERROR)
logger.error("Could not load provider configuration.")
def cancel_login(self):