mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-12 17:58:50 +01:00
bug
This commit is contained in:
parent
c225aa7dde
commit
9e75bc56e0
@ -33,7 +33,12 @@ class BleAgent(dbus.service.Object):
|
||||
global BUS_NAME
|
||||
dev = dbus.Interface(bus.get_object(BUS_NAME, path),
|
||||
"org.bluez.Device1")
|
||||
dev.Connect()
|
||||
|
||||
print("dev_connect %s" % path)
|
||||
try:
|
||||
dev.Connect()
|
||||
except Exception,e:
|
||||
print(str(e))
|
||||
|
||||
@dbus.service.method(AGENT_INTERFACE,in_signature="", out_signature="")
|
||||
def Release(self):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user