diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2012-12-18 21:25:56 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-12-18 21:25:56 +0100 |
commit | 1bbe30a9af324ffb238201d512c879b322939041 (patch) | |
tree | 7dd86a2145bbb200d1f5f61ff76a053f80efc1f9 /test/ftp-client | |
parent | 7a76bc0d09db7aa90c587617dc6bd52ad5a2807e (diff) | |
download | bluez-1bbe30a9af324ffb238201d512c879b322939041.tar.gz |
test: Update to new org.bluez.obex service name
Diffstat (limited to 'test/ftp-client')
-rwxr-xr-x | test/ftp-client | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ftp-client b/test/ftp-client index 064a81ae7..e1a051b5d 100755 --- a/test/ftp-client +++ b/test/ftp-client @@ -40,7 +40,7 @@ class FtpClient: self.transfer_size = 0 self.verbose = verbose 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.ftp = dbus.Interface(obj, "org.bluez.obex.FileTransfer") bus.add_signal_receiver(self.transfer_complete, @@ -151,7 +151,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") print "Creating Session" |