diff options
Diffstat (limited to 'test/cancel-ussd')
-rwxr-xr-x | test/cancel-ussd | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/cancel-ussd b/test/cancel-ussd index 65b0f556..73796228 100755 --- a/test/cancel-ussd +++ b/test/cancel-ussd @@ -8,8 +8,9 @@ bus = dbus.SystemBus() manager = dbus.Interface(bus.get_object('org.ofono', '/'), 'org.ofono.Manager') -properties = manager.GetProperties() -path = properties["Modems"][0] +modems = manager.GetModems() + +path, properties = modems[0] ussd = dbus.Interface(bus.get_object('org.ofono', path), 'org.ofono.SupplementaryServices') |