Add special handling of Ninite action
This commit is contained in:
parent
a53050b78d
commit
97c5fc4c4d
1 changed files with 7 additions and 0 deletions
|
|
@ -166,6 +166,13 @@ def get_actions(setup_mode, answers):
|
|||
# Set other keys
|
||||
for _sub_key in SETUP_ACTION_KEYS:
|
||||
_action[_sub_key] = _val.get(_sub_key, None)
|
||||
|
||||
# Handle "special" actions
|
||||
if _key == 'Ninite bundle':
|
||||
_action['KWArgs'] = {kw.lower(): kv for kw, kv in answers.items()}
|
||||
_action['KWArgs'].pop('eset', None)
|
||||
|
||||
# Add to dict
|
||||
actions[_key] = _action
|
||||
|
||||
return actions
|
||||
|
|
|
|||
Loading…
Reference in a new issue