summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xnetwork/test-network6
1 files changed, 2 insertions, 4 deletions
diff --git a/network/test-network b/network/test-network
index 8860003b..fe83cd21 100755
--- a/network/test-network
+++ b/network/test-network
@@ -13,15 +13,13 @@ network = dbus.Interface(bus.get_object(conn, '/org/bluez/network'),
'org.bluez.network.Manager')
try:
- nap = dbus.Interface(bus.get_object('org.bluez.network',
- network.FindAdapter('nap')),
+ nap = dbus.Interface(bus.get_object(conn, network.FindServer('nap')),
'org.bluez.network.Server')
except:
pass
try:
- gn = dbus.Interface(bus.get_object('org.bluez.network',
- network.FindAdapter('gn')),
+ gn = dbus.Interface(bus.get_object(conn, network.FindServer('gn')),
'org.bluez.network.Server')
except:
pass