mirror of
https://github.com/Andre0512/pyhOn.git
synced 2025-05-13 14:44:28 -04:00
Fix some errors
This commit is contained in:
parent
7bd3aac7c5
commit
8e16b4a215
4 changed files with 11 additions and 5 deletions
|
@ -103,7 +103,8 @@ class HonCommand:
|
|||
|
||||
@category.setter
|
||||
def category(self, category: str) -> None:
|
||||
self._appliance.commands[self._name] = self.categories[category]
|
||||
if category in self.categories:
|
||||
self._appliance.commands[self._name] = self.categories[category]
|
||||
|
||||
@property
|
||||
def setting_keys(self) -> List[str]:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue