diff options
author | Kali Kaneko <kali@leap.se> | 2015-01-16 20:26:37 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2015-02-11 14:05:43 -0400 |
commit | 8f8bd93957a6cb10b3797d1f57d387f479f5ee01 (patch) | |
tree | 12cdfe294ac1254d83f078c11d297edfd3cde9a6 /mail | |
parent | 764e5d546ce613f6363a2ae86c13cec7af01049e (diff) |
return the deferred from the incoming.startService() call
Diffstat (limited to 'mail')
-rw-r--r-- | mail/src/leap/mail/incoming/service.py | 2 |
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.") |