mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-15 11:18:51 +01:00
...
This commit is contained in:
parent
572984f294
commit
578305dfb1
@ -183,7 +183,7 @@ class TitleBar:
|
|||||||
def CheckBluetooth(self):
|
def CheckBluetooth(self):
|
||||||
out = commands.getstatusoutput("hcitool dev | grep hci0 |cut -f3")
|
out = commands.getstatusoutput("hcitool dev | grep hci0 |cut -f3")
|
||||||
if len(out[1]) < 17:
|
if len(out[1]) < 17:
|
||||||
print("no bluetooth", out)
|
print("CheckBluetooth:no bluetooth", out)
|
||||||
self._Icons["bluetooth"]._IconIndex = 2
|
self._Icons["bluetooth"]._IconIndex = 2
|
||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user