Adjusted Activation menu
* If CS: exit_ecript(), else return to menu
This commit is contained in:
parent
b02a62a917
commit
b1fa59c32d
1 changed files with 3 additions and 2 deletions
|
|
@ -41,11 +41,12 @@ if __name__ == '__main__':
|
||||||
main_entries=activation_methods, action_entries=actions)
|
main_entries=activation_methods, action_entries=actions)
|
||||||
|
|
||||||
if (selection.isnumeric()):
|
if (selection.isnumeric()):
|
||||||
try_and_print(
|
result = try_and_print(
|
||||||
message = activation_methods[int(selection)-1]['Name'],
|
message = activation_methods[int(selection)-1]['Name'],
|
||||||
function = activation_methods[int(selection)-1]['Function'],
|
function = activation_methods[int(selection)-1]['Function'],
|
||||||
other_results=other_results)
|
other_results=other_results)
|
||||||
break
|
if result['CS']:
|
||||||
|
break
|
||||||
elif selection == 'Q':
|
elif selection == 'Q':
|
||||||
exit_script()
|
exit_script()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue