Adjusted Activation menu

* If CS: exit_ecript(), else return to menu
This commit is contained in:
Alan Mason 2017-11-23 14:55:27 -08:00
parent b02a62a917
commit b1fa59c32d

View file

@ -41,11 +41,12 @@ if __name__ == '__main__':
main_entries=activation_methods, action_entries=actions)
if (selection.isnumeric()):
try_and_print(
result = try_and_print(
message = activation_methods[int(selection)-1]['Name'],
function = activation_methods[int(selection)-1]['Function'],
other_results=other_results)
break
if result['CS']:
break
elif selection == 'Q':
exit_script()