summaryrefslogtreecommitdiffstats
path: root/hcid/list-devices
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-03-13 23:01:34 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-03-13 23:01:34 +0000
commit2168a48f8f05562fcd51f17744ead7d1c48e910f (patch)
tree97337669f03d6cd4758b2a4b7e4735c123e0bfce /hcid/list-devices
parentc02f77b6ef70f49d18b20e23caaccf685a150ea1 (diff)
Add support for having the new manager interface on root path
Diffstat (limited to 'hcid/list-devices')
-rwxr-xr-xhcid/list-devices3
1 files changed, 1 insertions, 2 deletions
diff --git a/hcid/list-devices b/hcid/list-devices
index 2aefbe09..6ee4f5aa 100755
--- a/hcid/list-devices
+++ b/hcid/list-devices
@@ -19,8 +19,7 @@ def extract_uuids(uuid_list):
return list
-manager = dbus.Interface(bus.get_object('org.bluez', '/org/bluez'),
- 'org.bluez.Manager')
+manager = dbus.Interface(bus.get_object('org.bluez', '/'), 'org.bluez.Manager')
adapter_list = manager.ListAdapters()