X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=test%2Fmonitor-connman;h=886373acadae5cbfcca4f5ae951bcd9998a2e662;hb=7609551bc6c7f675f212ffde9b64db9811fb42c4;hp=97d3a6b5989754b458a2492b3ec7cceb2eca9ccd;hpb=c634b10c2613e71f2824171b9a42c1728f801c71;p=connman diff --git a/test/monitor-connman b/test/monitor-connman index 97d3a6b..886373a 100755 --- a/test/monitor-connman +++ b/test/monitor-connman @@ -7,7 +7,7 @@ import dbus.mainloop.glib def property_changed(name, value, path, interface): iface = interface[interface.rfind(".") + 1:] - if (name == "Strength"): + if name in ["Strength", "Priority"]: val = int(value) else: val = str(value)