From b1fa59c32d212ac1b9f559ea8d14ddb1168e9aec Mon Sep 17 00:00:00 2001 From: Alan Mason <1923621+2Shirt@users.noreply.github.com> Date: Thu, 23 Nov 2017 14:55:27 -0800 Subject: [PATCH] Adjusted Activation menu * If CS: exit_ecript(), else return to menu --- .bin/Scripts/activate.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.bin/Scripts/activate.py b/.bin/Scripts/activate.py index 059d629a..9135ca34 100644 --- a/.bin/Scripts/activate.py +++ b/.bin/Scripts/activate.py @@ -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()