Skip to content

Commit 92f6bb6

Browse files
committed
Added strip no keys entered prompt input
1 parent 5d7dd38 commit 92f6bb6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • remove-json-keys/src/remove_json_keys/lib

remove-json-keys/src/remove_json_keys/lib/wizard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def run(cli):
1313

1414
if not input_keys: # no keys entered
1515
if cli.config.keys : break # out of wizard
16-
user_resp = input(F'\n{cli.msgs.prompt_NO_KEYS_EXIT} (Y/n): ').lower()
16+
user_resp = input(F'\n{cli.msgs.prompt_NO_KEYS_EXIT} (Y/n): ').strip().lower()
1717
if user_resp == 'n' : continue # back to og prompt
1818
else : print(f'{cli.msgs.log_EXITING} {cli.name}...') ; sys.exit(0)
1919

0 commit comments

Comments
 (0)