summaryrefslogtreecommitdiff
path: root/service/pixelated/config
diff options
context:
space:
mode:
authorBruno Wagner <bwagner@riseup.net>2015-09-16 17:34:20 -0300
committerBruno Wagner <bwagner@riseup.net>2015-09-16 17:34:20 -0300
commit9f5885fc7fc725e8541bf2b0cd60527d3b96b87e (patch)
treef14c3712ca32cc73ee938cb7e8abbc4d27e31ca6 /service/pixelated/config
parent3f150ba7c119ad6f7a52d05915966ac1f78a6f0b (diff)
Moved account to after sync function #458
Imap account creation was firing post sync hooks and that was trying to use the mailboxes that were not synced yet. Just moved that for the after sync together with the incoming mail fetcher
Diffstat (limited to 'service/pixelated/config')
-rw-r--r--service/pixelated/config/leap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/pixelated/config/leap.py b/service/pixelated/config/leap.py
index f96710d4..c1280756 100644
--- a/service/pixelated/config/leap.py
+++ b/service/pixelated/config/leap.py
@@ -24,7 +24,7 @@ def initialize_leap(leap_provider_cert,
LeapCertificate(provider).setup_ca_bundle()
leap_session = LeapSessionFactory(provider).create(username, password)
- yield leap_session.initial_sync()
+ leap_session = yield leap_session.initial_sync()
defer.returnValue(leap_session)