From 7859a2c0e690677fcfe014d4c911befa1ca9be06 Mon Sep 17 00:00:00 2001 From: Fitblip Date: Fri, 28 Jul 2017 11:52:46 -0700 Subject: [PATCH] Fix small bug in prompting for codeshare (#119) --- src/frida/repl.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/frida/repl.py b/src/frida/repl.py index 6f53fd4..e1f88b7 100644 --- a/src/frida/repl.py +++ b/src/frida/repl.py @@ -513,8 +513,8 @@ URL: {url} )) while True: - input_string = "Are you sure you'd like to trust this project? [y/N] " - response = get_input() + prompt_string = "Are you sure you'd like to trust this project? [y/N] " + response = get_input(prompt_string) if response.lower() in ('n', 'no') or response == '': return None @@ -695,8 +695,8 @@ try: except NameError: input_impl = input -def get_input(): - return input_impl() +def get_input(prompt_string): + return input_impl(prompt_string) if __name__ == '__main__':