mirror of git://git.sysmocom.de/ofono
test/list-modems : print Strength as an integer
org.ofono.NetworkRegistration property Strength is an integer, so print it as such.
This commit is contained in:
parent
9a9b4105aa
commit
8a260d7a60
|
@ -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)) +
|
||||
|
|
Loading…
Reference in New Issue