Merge pull request #827 from PierreBastiani/user_input-quality_of_life
check for authorise 'y' without trailing spacepull/993/head
commit
0528aacfb7
|
@ -372,7 +372,7 @@ while True:
|
||||||
flush=True)
|
flush=True)
|
||||||
while True:
|
while True:
|
||||||
console_input = utils.clean_input(Fore.MAGENTA + "Input:" + Style.RESET_ALL)
|
console_input = utils.clean_input(Fore.MAGENTA + "Input:" + Style.RESET_ALL)
|
||||||
if console_input.lower() == "y":
|
if console_input.lower().rstrip() == "y":
|
||||||
user_input = "GENERATE NEXT COMMAND JSON"
|
user_input = "GENERATE NEXT COMMAND JSON"
|
||||||
break
|
break
|
||||||
elif console_input.lower().startswith("y -"):
|
elif console_input.lower().startswith("y -"):
|
||||||
|
|
Loading…
Reference in New Issue