summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-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 e52c727..71c356f 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.")