Update commands.py to fix None values
This commit is contained in:
parent
318e60e91e
commit
c9d4461f8f
1 changed files with 1 additions and 1 deletions
|
@ -67,5 +67,5 @@ class HonCommand:
|
||||||
@property
|
@property
|
||||||
def settings(self):
|
def settings(self):
|
||||||
"""Parameters with typology enum and range"""
|
"""Parameters with typology enum and range"""
|
||||||
return {s: self._parameters[s] for s in self.setting_keys}
|
return {s: self._parameters.get(s) for s in self.setting_keys if self._parameters.get(s) is not None}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue