summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/leap/mail/incoming/service.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/mail/incoming/service.py b/src/leap/mail/incoming/service.py
index e52c727..71c356f 100644
--- a/src/leap/mail/incoming/service.py
+++ b/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.")