summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/leap/bitmask/core/mail_services.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/bitmask/core/mail_services.py b/src/leap/bitmask/core/mail_services.py
index d1ccdb95..a0238279 100644
--- a/src/leap/bitmask/core/mail_services.py
+++ b/src/leap/bitmask/core/mail_services.py
@@ -746,7 +746,7 @@ class IncomingMailService(service.MultiService):
status = self._status[userid]
incoming = self.getServiceNamed(userid)
- if ['status'] == 'on':
+ if status['status'] == 'on':
status['unread'] = yield incoming.unread()
defer.returnValue(status)