Browse Source

fix question

pull/2/head
Fernando Trias 4 years ago
parent
commit
47f2159e7b
  1. 4
      teensy_debug

4
teensy_debug

@ -77,7 +77,9 @@ def askUser(question):
if args.has("y"):
return True
print(question)
print("[y/N]? ", end='')
# print("[y/N]? ", end='')
sys.stdout.write("[y/N]? ")
sys.stdout.flush()
ask = sys.stdin.readline()
if ask[0] == 'y' or ask[0] == 'Y':
return True

Loading…
Cancel
Save