fix configurable_keys exception
This commit is contained in:
parent
52367e53f5
commit
d98abe42bc
@ -254,6 +254,8 @@ class OpenWebRxReceiverClient(Client):
|
|||||||
def setParams(self, params):
|
def setParams(self, params):
|
||||||
config = Config.get()
|
config = Config.get()
|
||||||
# allow direct configuration only if enabled in the config
|
# allow direct configuration only if enabled in the config
|
||||||
|
if "configurable_keys" not in config:
|
||||||
|
return
|
||||||
keys = config["configurable_keys"]
|
keys = config["configurable_keys"]
|
||||||
if not keys:
|
if not keys:
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user