XXX ugly workaround. Proceeds without prompt

spacecruft
Jeff Moe 2023-01-17 09:12:25 -07:00
parent 5b54012332
commit afd1bf1e2a
1 changed files with 2 additions and 1 deletions

View File

@ -64,7 +64,8 @@ sleep(0.5)
print(("\n\033[1;32;48mEstimated completion time: \033[1;36;48m"+str(float(duration)*float(fmax-fmin)/float(bandwidth))+" sec"))
sleep(0.5)
proceed = eval(input("\n\033[1;36;48mProceed to measurement? [Y/n]: \033[1;33;48m"))
#proceed = eval(input("\n\033[1;36;48mProceed to measurement? [Y/n]: \033[1;33;48m"))
proceed = 'Y'
if proceed.lower() != 'n' and proceed.lower() != 'no':
print('\n\033[1;33;48m+=================================================================+')