diff options
Diffstat (limited to 'test/monitor-ofono')
-rwxr-xr-x | test/monitor-ofono | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/monitor-ofono b/test/monitor-ofono index dbcd8469..4f3c5a0f 100755 --- a/test/monitor-ofono +++ b/test/monitor-ofono @@ -7,7 +7,8 @@ import dbus.mainloop.glib def property_changed(name, value, path, interface): iface = interface[interface.rfind(".") + 1:] - if name in [""]: + if name in ["MobileNetworkCodeLength", + "VoicemailMessageCount"]: val = int(value) else: val = str(value) |