From 5a419ffc0c16232256b6c86489df4936488d1118 Mon Sep 17 00:00:00 2001 From: David Paleino Date: Wed, 26 Sep 2012 17:37:34 +0200 Subject: [PATCH] Improve strength display --- cli/wicd-cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cli/wicd-cli.py b/cli/wicd-cli.py index 6a538c6..0a69a3c 100755 --- a/cli/wicd-cli.py +++ b/cli/wicd-cli.py @@ -93,9 +93,10 @@ if options.status: if connected: print _('Connection type') + ': ' + conn_type if status == misc.WIRELESS: + strength = daemon.FormatSignalForPrinting(info[2]) print _('Connected to $A at $B (IP: $C)') \ .replace('$A', info[1]) \ - .replace('$B', info[2]) \ + .replace('$B', strength) \ .replace('$C', info[0]) print _('Network ID: $A') \ .replace('$A', info[3])