From 6036ab64620e6401fbc76b6fd577113a4e88230d Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Sat, 1 Oct 2022 06:27:04 +0200 Subject: [PATCH] Bug fixes. There are still more in monitor.py! --- linspector/core/monitor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linspector/core/monitor.py b/linspector/core/monitor.py index 4f25985..fc55cc6 100644 --- a/linspector/core/monitor.py +++ b/linspector/core/monitor.py @@ -200,14 +200,14 @@ class Monitor: def handle_call(self): log('info', "handle call to identifier: " + self.__identifier) - self.__services[self.__service].execute() #logger.debug("handle call") #logger.debug(self.service) if self.enabled: self.last_execution = None try: self.last_execution = MonitorExecution(self.get_host()) - self.service.execute(self.last_execution) + #self.__services[self.__service].execute(self.last_execution) + self.__services[self.__service].execute() except Exception as err: log('error', err)