diff options
Diffstat (limited to 'test/hangup-all')
-rwxr-xr-x | test/hangup-all | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/hangup-all b/test/hangup-all index d75a29c6..a8b9db53 100755 --- a/test/hangup-all +++ b/test/hangup-all @@ -8,9 +8,8 @@ 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 = modems[0][0] manager = dbus.Interface(bus.get_object('org.ofono', path), 'org.ofono.VoiceCallManager') |