From 8a260d7a601d64d8a5fb942d55498217eb7bef88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Monin?= Date: Fri, 17 Dec 2010 21:33:06 +0100 Subject: [PATCH] test/list-modems : print Strength as an integer org.ofono.NetworkRegistration property Strength is an integer, so print it as such. --- test/list-modems | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/list-modems b/test/list-modems index 557efd52..8c075ac0 100755 --- a/test/list-modems +++ b/test/list-modems @@ -51,7 +51,8 @@ for path, properties in modems: elif key in ["MobileNetworkCodeLength", "VoicemailMessageCount", "MicrophoneVolume", - "SpeakerVolume"]: + "SpeakerVolume", + "Strength"]: val = int(properties[key]) elif key in ["MainMenu"]: val = ", ".join([ text + " (" + str(int(icon)) +