Mark some properties as integer so they get printed properly

This commit is contained in:
Marcel Holtmann 2009-09-08 03:04:51 +02:00
parent 0910ee7349
commit e4959e02d1
1 changed files with 2 additions and 1 deletions

View File

@ -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)