X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=test%2Fmonitor-connman;h=886373acadae5cbfcca4f5ae951bcd9998a2e662;hb=6f24662363c391c653d4a90518b0ff664f3ae5c4;hp=0c4a2efcd9557ee483506d476b67e367a353f7b8;hpb=99515f9c0d4818aa99eb227657954a2d9f1d3ae3;p=connman diff --git a/test/monitor-connman b/test/monitor-connman index 0c4a2ef..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 == "WiFi.Strength"): + if name in ["Strength", "Priority"]: val = int(value) else: val = str(value)