diff --git a/main.py b/main.py index e801a77..51ea4bc 100644 --- a/main.py +++ b/main.py @@ -91,8 +91,8 @@ async def trust_and_connect_device(device_path): logging.error(f'Failed to trust/connect to {device_path}: {e}') async def get_adapter(): - introspection = await bus.introspect(BLUEZ_SERVICE, '/org/bluez') - manager_obj = bus.get_proxy_object(BLUEZ_SERVICE, '/org/bluez', introspection) + introspection = await bus.introspect(BLUEZ_SERVICE, '/') + manager_obj = bus.get_proxy_object(BLUEZ_SERVICE, '/', introspection) manager_iface = manager_obj.get_interface('org.freedesktop.DBus.ObjectManager') managed_objects = await manager_iface.call_get_managed_objects()