diff --git a/.bin/Scripts/functions/common.py b/.bin/Scripts/functions/common.py index d64e2e9f..f5f3cb77 100644 --- a/.bin/Scripts/functions/common.py +++ b/.bin/Scripts/functions/common.py @@ -102,12 +102,7 @@ def ask(prompt='Kotaero!'): answer = None prompt = '{} [Y/N]: '.format(prompt) while answer is None: - try: - tmp = input(prompt) - except EOFError: - # Just try again? - sleep(1) - tmp = input(prompt) + tmp = input(prompt) if re.search(r'^y(es|)$', tmp, re.IGNORECASE): answer = True elif re.search(r'^n(o|ope|)$', tmp, re.IGNORECASE): @@ -417,12 +412,7 @@ def non_clobber_rename(full_path): def pause(prompt='Press Enter to continue... '): """Simple pause implementation.""" - try: - input(prompt) - except EOFError: - # Just try again? - sleep(1) - input(prompt) + input(prompt) def ping(addr='google.com'):