diff options
Diffstat (limited to 'test/enable-cbs')
-rwxr-xr-x | test/enable-cbs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/enable-cbs b/test/enable-cbs index 67356a90..9b5b57b1 100755 --- a/test/enable-cbs +++ b/test/enable-cbs @@ -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 "Enabling cell broadcast on modem %s..." % path cbs = dbus.Interface(bus.get_object('org.ofono', path), |