fix configurable_keys exception

This commit is contained in:
Jakob Ketterl 2020-05-03 17:50:37 +02:00
parent 52367e53f5
commit d98abe42bc

View File

@ -254,6 +254,8 @@ class OpenWebRxReceiverClient(Client):
def setParams(self, params):
config = Config.get()
# allow direct configuration only if enabled in the config
if "configurable_keys" not in config:
return
keys = config["configurable_keys"]
if not keys:
return