fixed missing colon

This commit is contained in:
root 2016-10-25 09:34:33 +00:00
parent 5786cff38c
commit a737ed68e7
1 changed files with 2 additions and 1 deletions

View File

@ -88,7 +88,8 @@ class ServiceMonitor(ServiceBackend):
def execute(self, *args, **kwargs):
log = super(ServiceMonitor, self).execute(*args, **kwargs)
self.store(log)
if log.state == BackendLog.SUCCESS:
self.store(log)
return log
@classmethod