Loading src/monitoring/service/ManagementDBTools.py +2 −2 Original line number Diff line number Diff line Loading @@ -261,10 +261,10 @@ class ManagementDB(): else: if data[0] == 1: return True elif data[0] == 0: elif data[0] == 0 or data[0] is None: return False else: LOGGER.debug(f"KPI {kpi_id} is wrong") LOGGER.debug(f"KPI {kpi_id} is wrong: {str(data)}") return None except sqlite3.Error as e: LOGGER.debug(f"KPI {kpi_id} cannot be checked from the ManagementDB: {e}") Loading Loading
src/monitoring/service/ManagementDBTools.py +2 −2 Original line number Diff line number Diff line Loading @@ -261,10 +261,10 @@ class ManagementDB(): else: if data[0] == 1: return True elif data[0] == 0: elif data[0] == 0 or data[0] is None: return False else: LOGGER.debug(f"KPI {kpi_id} is wrong") LOGGER.debug(f"KPI {kpi_id} is wrong: {str(data)}") return None except sqlite3.Error as e: LOGGER.debug(f"KPI {kpi_id} cannot be checked from the ManagementDB: {e}") Loading