diff options
Diffstat (limited to 'test')
-rwxr-xr-x | test/monitor-ofono | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/test/monitor-ofono b/test/monitor-ofono index 4f3c5a0f..86b81fc3 100755 --- a/test/monitor-ofono +++ b/test/monitor-ofono @@ -7,7 +7,15 @@ import dbus.mainloop.glib def property_changed(name, value, path, interface): iface = interface[interface.rfind(".") + 1:] - if name in ["MobileNetworkCodeLength", + if name in ["Modems", "Interfaces", + "Technologies", + "SubscriberNumbers", + "AvailableOperators", + "PreferredLanguages"]: + val = "" + for i in value: + val += i + " " + elif name in ["MobileNetworkCodeLength", "VoicemailMessageCount"]: val = int(value) else: |