tuhi: set pairing to False on known devices too
This commit is contained in:
parent
fc23247ffa
commit
08ab047d0a
1
tuhi.py
1
tuhi.py
|
@ -289,6 +289,7 @@ class Tuhi(GObject.Object):
|
||||||
d = self.devices[bluez_device.address]
|
d = self.devices[bluez_device.address]
|
||||||
|
|
||||||
if Tuhi._is_pairing_device(bluez_device):
|
if Tuhi._is_pairing_device(bluez_device):
|
||||||
|
d.paired = False
|
||||||
logger.debug('{}: call Pair() on device'.format(bluez_device.objpath))
|
logger.debug('{}: call Pair() on device'.format(bluez_device.objpath))
|
||||||
elif d.listening:
|
elif d.listening:
|
||||||
d.connect_device()
|
d.connect_device()
|
||||||
|
|
Loading…
Reference in New Issue