From af2c827f24dab2e507b7b3c690552741f078cd27 Mon Sep 17 00:00:00 2001 From: Antoine Durand-Gasselin Date: Fri, 2 Apr 2010 15:29:04 +0200 Subject: [PATCH] =?UTF-8?q?[wifi/bornes.py]=20on=20affine=20la=20repr?= =?UTF-8?q?=C3=A9sentation=20logarithmique=20de=20l'uptime?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit darcs-hash:20100402132904-bd074-13496f864caa99a863398d53f2ac4e8fc59d3cfd.gz --- wifi/bornes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wifi/bornes.py b/wifi/bornes.py index a94536d6..3a213960 100755 --- a/wifi/bornes.py +++ b/wifi/bornes.py @@ -220,7 +220,7 @@ toutes les bornes""" plugin = prog.split('_', 1)[0] if plugin == 'uptime': config = """graph_title Uptime Bornes -graph_args --base 1000 --logarithmic +graph_args --base 1000 --logarithmic -l 0.5 -u 500 -r graph_vlabel uptime in days""" def process(uptime): if uptime: return str(float (uptime.split()[1]) / (24 * 3600))