mirror of
https://github.com/Andre0512/pyhOn.git
synced 2024-12-22 18:55:32 +00:00
Update commands.py to fix None values
This commit is contained in:
parent
318e60e91e
commit
c9d4461f8f
|
@ -67,5 +67,5 @@ class HonCommand:
|
|||
@property
|
||||
def settings(self):
|
||||
"""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