actually, it's better to catch the exception inside
This commit is contained in:
parent
981d3b6673
commit
a6a29b7032
@ -264,8 +264,8 @@ class OpenWebRxReceiverClient(Client):
|
|||||||
stack.addLayer(0, self.sdr.getProps())
|
stack.addLayer(0, self.sdr.getProps())
|
||||||
stack.addLayer(1, config)
|
stack.addLayer(1, config)
|
||||||
protected = stack.filter(*keys)
|
protected = stack.filter(*keys)
|
||||||
try:
|
|
||||||
for key, value in params.items():
|
for key, value in params.items():
|
||||||
|
try:
|
||||||
protected[key] = value
|
protected[key] = value
|
||||||
except KeyError:
|
except KeyError:
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user