Adjusted Prime95 countdown
This commit is contained in:
parent
d4f24eafb6
commit
4b16ec6095
1 changed files with 4 additions and 2 deletions
|
|
@ -507,8 +507,10 @@ def run_mprime():
|
||||||
try:
|
try:
|
||||||
for i in range(int(MPRIME_LIMIT)):
|
for i in range(int(MPRIME_LIMIT)):
|
||||||
clear_screen()
|
clear_screen()
|
||||||
print_standard('Running Prime95 ({} minutes left)'.format(
|
min_left = int(MPRIME_LIMIT) - i
|
||||||
int(MPRIME_LIMIT)-i))
|
print_standard('Running Prime95 ({} minute{} left)'.format(
|
||||||
|
min_left,
|
||||||
|
's' if min_left != 1 else ''))
|
||||||
print_warning('If running too hot, press CTRL+c to abort the test')
|
print_warning('If running too hot, press CTRL+c to abort the test')
|
||||||
sleep(60)
|
sleep(60)
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue