1
0
Fork 0
mirror of https://github.com/Andre0512/pyhOn.git synced 2025-05-30 14:35:19 -04:00

expose ancillary parameter in settings

This commit is contained in:
Andre Basche 2023-04-16 03:29:28 +02:00
parent 5b91747ec1
commit 8372c75e30
3 changed files with 10 additions and 8 deletions

View file

@ -49,7 +49,7 @@ def create_command(commands, concat=False):
for name, command in commands.items():
if not concat:
result[name] = {}
for parameter, data in command.parameters.items():
for parameter, data in command.settings.items():
if data.typology == "enum":
value = data.values
elif data.typology == "range":