mirror of
https://github.com/jketterl/openwebrx.git
synced 2025-12-06 07:12:09 +01:00
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 a new issue