From e4959e02d11e1d0becd43b702db7590b611bcebc Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 8 Sep 2009 03:04:51 +0200 Subject: Mark some properties as integer so they get printed properly --- test/monitor-ofono | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/monitor-ofono') 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) -- cgit v1.2.3