mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Make error correction script user interaction case insensitive
This commit is contained in:
parent
80b4e51fd6
commit
ff084c2809
@ -126,9 +126,9 @@ def main():
|
||||
f"Please commit current changes first, and review the results when the script finishes.\n\n"
|
||||
f"Do you want to start [Y/N]? "
|
||||
)
|
||||
while len(answer) == 0 or answer not in "YN":
|
||||
while len(answer) == 0 or answer not in "YNyn":
|
||||
answer = input("[Y/N]? ")
|
||||
if answer != "Y":
|
||||
if answer not in "yY":
|
||||
return
|
||||
|
||||
source_file_names = find_source_files(cwd)
|
||||
|
Loading…
Reference in New Issue
Block a user