mirror of
https://github.com/liberatedsystems/openCom-Companion.git
synced 2024-11-29 08:40:36 +01:00
Cleanup
This commit is contained in:
parent
5739b33f06
commit
c499706daf
@ -1555,19 +1555,16 @@ class SidebandCore():
|
|||||||
rnode_allow_bluetooth = False
|
rnode_allow_bluetooth = False
|
||||||
if self.getpersistent("permissions.bluetooth"):
|
if self.getpersistent("permissions.bluetooth"):
|
||||||
if self.config["hw_rnode_bluetooth"]:
|
if self.config["hw_rnode_bluetooth"]:
|
||||||
# TODO: Remove
|
RNS.log("Allowing RNode bluetooth", RNS.LOG_DEBUG)
|
||||||
RNS.log("Allowing RNode bluetooth")
|
|
||||||
rnode_allow_bluetooth = True
|
rnode_allow_bluetooth = True
|
||||||
if self.config["hw_rnode_bt_device"] != None:
|
if self.config["hw_rnode_bt_device"] != None:
|
||||||
bt_device_name = self.config["hw_rnode_bt_device"]
|
bt_device_name = self.config["hw_rnode_bt_device"]
|
||||||
|
|
||||||
else:
|
else:
|
||||||
# TODO: Remove
|
RNS.log("Disallowing RNode bluetooth since config is disabled", RNS.LOG_DEBUG)
|
||||||
RNS.log("Disallowing RNode bluetooth since config is disabled")
|
|
||||||
rnode_allow_bluetooth = False
|
rnode_allow_bluetooth = False
|
||||||
else:
|
else:
|
||||||
# TODO: Remove
|
RNS.log("Disallowing RNode bluetooth due to missing permission", RNS.LOG_DEBUG)
|
||||||
RNS.log("Disallowing RNode bluetooth due to missing permission")
|
|
||||||
rnode_allow_bluetooth = False
|
rnode_allow_bluetooth = False
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user