mirror of git://git.sysmocom.de/ofono
Mark some properties as integer so they get printed properly
This commit is contained in:
parent
0910ee7349
commit
e4959e02d1
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue