summaryrefslogtreecommitdiff
path: root/test/pbap-client
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-12-18 21:25:56 +0100
committerMarcel Holtmann <marcel@holtmann.org>2012-12-18 21:25:56 +0100
commit1bbe30a9af324ffb238201d512c879b322939041 (patch)
tree7dd86a2145bbb200d1f5f61ff76a053f80efc1f9 /test/pbap-client
parent7a76bc0d09db7aa90c587617dc6bd52ad5a2807e (diff)
downloadbluez-1bbe30a9af324ffb238201d512c879b322939041.tar.gz
test: Update to new org.bluez.obex service name
Diffstat (limited to 'test/pbap-client')
-rwxr-xr-xtest/pbap-client4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/pbap-client b/test/pbap-client
index 7be8bad49..ac7b28ba3 100755
--- a/test/pbap-client
+++ b/test/pbap-client
@@ -20,7 +20,7 @@ class PbapClient:
self.props = dict()
self.flush_func = None
bus = dbus.SessionBus()
- obj = bus.get_object("org.bluez.obex.client", session_path)
+ obj = bus.get_object("org.bluez.obex", session_path)
self.session = dbus.Interface(obj, "org.bluez.obex.Session")
self.pbap = dbus.Interface(obj,
"org.bluez.obex.PhonebookAccess")
@@ -98,7 +98,7 @@ if __name__ == '__main__':
bus = dbus.SessionBus()
mainloop = gobject.MainLoop()
- client = dbus.Interface(bus.get_object("org.bluez.obex.client", "/"),
+ client = dbus.Interface(bus.get_object("org.bluez.obex", "/"),
"org.bluez.obex.Client")
if (len(sys.argv) < 2):