From e8ce8b1e011b6ae15555884fb19cfcfc0f095e58 Mon Sep 17 00:00:00 2001 From: Antoine Durand-Gasselin Date: Wed, 30 Jun 2010 11:17:03 +0200 Subject: [PATCH] [wiki/hoststatus] allez l'iso, allez, allez! darcs-hash:20100630091703-bd074-92cdb0ad1bd7f781b041a9723d5030da6aae5d4a.gz --- wiki/macro/HostStatus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wiki/macro/HostStatus.py b/wiki/macro/HostStatus.py index 3d857dd1..14cee386 100644 --- a/wiki/macro/HostStatus.py +++ b/wiki/macro/HostStatus.py @@ -22,7 +22,7 @@ def execute(macro, text) : line = lines[0].split(' ') trucsdown += f.table_row(1) trucsdown += f.table_cell(1,{'style':'background-color:lightgrey; color: black;'}) - trucsdown += unicode(f.text('%s (%s)' % (line [0], getoutput("grep '^%s[^-.a-zA-Z]' /usr/scripts/var/autostatus/hosts | cut -d ' ' -f 5-" % line [0])) ), "utf-8") + trucsdown += unicode(f.text('%s (%s)' % (line [0], getoutput("grep '^%s[^-.a-zA-Z]' /usr/scripts/var/autostatus/hosts | cut -d ' ' -f 5-" % line [0])) ), "iso-8859-15") trucsdown += f.table_cell(0) # nombre de non réponse au ping if int(line[1]) > 2 :