diff options
author | BenoƮt Monin <benoit.monin@gmx.fr> | 2010-12-17 21:33:06 +0100 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-12-17 17:10:37 -0600 |
commit | 8a260d7a601d64d8a5fb942d55498217eb7bef88 (patch) | |
tree | 0f20e6a64a934dcb795ad8bf8518214fe001da32 /test/list-modems | |
parent | 9a9b4105aa067138ee1368edf74a66718fbcc68c (diff) | |
download | ofono-8a260d7a601d64d8a5fb942d55498217eb7bef88.tar.bz2 |
test/list-modems : print Strength as an integer
org.ofono.NetworkRegistration property Strength is an integer,
so print it as such.
Diffstat (limited to 'test/list-modems')
-rwxr-xr-x | test/list-modems | 3 |
1 files changed, 2 insertions, 1 deletions
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)) + |