summaryrefslogtreecommitdiff
path: root/mail/src
diff options
context:
space:
mode:
Diffstat (limited to 'mail/src')
-rw-r--r--mail/src/leap/mail/incoming/service.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/src/leap/mail/incoming/service.py b/mail/src/leap/mail/incoming/service.py
index e52c7272..71c356f6 100644
--- a/mail/src/leap/mail/incoming/service.py
+++ b/mail/src/leap/mail/incoming/service.py
@@ -190,7 +190,7 @@ class IncomingMail(Service):
Service.startService(self)
if self._loop is None:
self._loop = LoopingCall(self.fetch)
- self._loop.start(self._check_period)
+ return self._loop.start(self._check_period)
else:
logger.warning("Tried to start an already running fetching loop.")