diff --git a/data.py b/data.py index 199bc07..4a55274 100644 --- a/data.py +++ b/data.py @@ -184,7 +184,7 @@ class DataStore: if "DOWNTIMESTART" in type and not cur.downtime: cur.downtime = True message = "début de downtime sur" \ - " sur %s (%s)" % (host, text) + " sur %s (%s)" % (host, comment) # send notification log.info("Sending to %s: %s" % (destmuc, message)) self.linkedBot.push(destmuc, cur.maintainer+", "+message) @@ -192,7 +192,7 @@ class DataStore: elif "DOWNTIMEEND" in type and cur.downtime: cur.downtime = False message = "fin de downtime sur" \ - " sur %s (%s)" % (host, text) + " sur %s (%s)" % (host, comment) # send notification log.info("Sending to %s: %s" % (destmuc, message)) self.linkedBot.push(destmuc, cur.maintainer+", "+message)