summaryrefslogtreecommitdiff
path: root/service/pixelated/adapter/mailstore/leap_mailstore.py
diff options
context:
space:
mode:
Diffstat (limited to 'service/pixelated/adapter/mailstore/leap_mailstore.py')
-rw-r--r--service/pixelated/adapter/mailstore/leap_mailstore.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/pixelated/adapter/mailstore/leap_mailstore.py b/service/pixelated/adapter/mailstore/leap_mailstore.py
index 5357167b..215cd74a 100644
--- a/service/pixelated/adapter/mailstore/leap_mailstore.py
+++ b/service/pixelated/adapter/mailstore/leap_mailstore.py
@@ -349,7 +349,7 @@ class LeapMailStore(MailStore):
@defer.inlineCallbacks
def _mailbox_name_from_uuid(self, uuid):
map = (yield self._mailbox_uuid_to_name_map())
- defer.returnValue(map[uuid])
+ defer.returnValue(map.get(uuid, ''))
@defer.inlineCallbacks
def _get_or_create_mailbox(self, mailbox_name):