> python record_data.py --browser chrome --num_runs 1 --sites_list google.com --trace_length 5
File "record_data.py", line 125
response = input(f"{prompt} [y/N] ")
^
SyntaxError: invalid syntax
This syntax error does not rise in powershell.
Any ideas why should this happen?
This is the code around it:
if opts.enable_timer_countermeasure and opts.attacker_type != "javascript":
print("If enable_timer_countermeasure is true, attacker_type must be set to javascript.")
sys.exit(1)
def confirm(prompt):
response = input(f"{prompt} [y/N] ")
if "y" not in response.lower():
sys.exit(1)