Bugfixes
* Ensure KWArgs is a dict * Print action string not values
This commit is contained in:
parent
aa4356c08c
commit
6a1315a9f2
1 changed files with 5 additions and 1 deletions
|
|
@ -167,6 +167,10 @@ def get_actions(setup_mode, answers):
|
|||
for _sub_key in SETUP_ACTION_KEYS:
|
||||
_action[_sub_key] = _val.get(_sub_key, None)
|
||||
|
||||
# Fix KWArgs
|
||||
if _action.get('KWArgs', {}) is None:
|
||||
_action['KWArgs'] = {}
|
||||
|
||||
# Handle "special" actions
|
||||
if _key == 'KIT_NAME_FULL':
|
||||
_key = KIT_NAME_FULL
|
||||
|
|
@ -290,7 +294,7 @@ def main():
|
|||
|
||||
# Print info lines
|
||||
if values.get('Info', False):
|
||||
print_info(values['Info'])
|
||||
print_info(action)
|
||||
continue
|
||||
|
||||
# Print skipped actions
|
||||
|
|
|
|||
Loading…
Reference in a new issue