diff --git a/wiki/macro/HostStatus.py b/wiki/macro/HostStatus.py index 161cec25..e7088335 100644 --- a/wiki/macro/HostStatus.py +++ b/wiki/macro/HostStatus.py @@ -35,7 +35,7 @@ def execute(macro, text) : line = line.split(' ') code += f.table_row(1) code += f.table_cell(1,{'style':'background-color:silver'}) - code += unicode(f.text('%s (%s)' % (line [0], getoutput("grep '^%s' /etc/autostatus/hosts | cut -d ' ' -f 5-" % line [0])) ), "iso-8859-15") + code += unicode(f.text('%s (%s)' % (line [0], getoutput("grep '^%s[^a-zA-Z]' /etc/autostatus/hosts | cut -d ' ' -f 5-" % line [0])) ), "iso-8859-15") code += f.table_cell(0) # nombre de non réponse au ping if int(line[1]) > 2 :