diff options
Diffstat (limited to 'test/scan-for-operators')
-rwxr-xr-x | test/scan-for-operators | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/scan-for-operators b/test/scan-for-operators index 3206f8f0..285f1111 100755 --- a/test/scan-for-operators +++ b/test/scan-for-operators @@ -10,8 +10,8 @@ if len(sys.argv) == 2: else: manager = dbus.Interface(bus.get_object('org.ofono', '/'), 'org.ofono.Manager') - properties = manager.GetProperties() - path = properties["Modems"][0] + modems = manager.GetModems() + path = modems[0][0] print "Propose scanning for modem %s..." % path netreg = dbus.Interface(bus.get_object('org.ofono', path), @@ -33,6 +33,6 @@ for entry in operators: else: val = str(properties[key]) print " %s = %s" % (key, val) - + print |