summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/gui/account.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-09-18 13:27:37 -0400
committerKali Kaneko <kali@leap.se>2015-09-18 13:36:35 -0400
commit978cbcc4c124fe3dcf05283d0790b828e072be25 (patch)
tree35093953549056458ad6d58d3861fc1189e8790f /src/leap/bitmask/gui/account.py
parentc110760ac5b710dd7220e639f3c3e25acd43a560 (diff)
[bug] correctly return expected value for methods that check services
these methods were returning None, and therefore breaking soledad password change (since it checks whether mail is enabled before changing soledad pass after srp pass change). - Resolves: #7470
Diffstat (limited to 'src/leap/bitmask/gui/account.py')
-rw-r--r--src/leap/bitmask/gui/account.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/bitmask/gui/account.py b/src/leap/bitmask/gui/account.py
index c941c3fa..81f96389 100644
--- a/src/leap/bitmask/gui/account.py
+++ b/src/leap/bitmask/gui/account.py
@@ -43,7 +43,7 @@ class Account():
return self._settings.get_enabled_services(self.domain)
def is_email_enabled(self):
- MX_SERVICE in self.services()
+ return MX_SERVICE in self.services()
def is_eip_enabled(self):
- EIP_SERVICE in self.services()
+ return EIP_SERVICE in self.services()