Skip to content

Commit 9e92f89

Browse files
committed
Fixed halting issue in geocom
Using the prompt method doesn't accept an empty input, switching it to pause is a better solution
1 parent 35fae81 commit 9e92f89

File tree

1 file changed

+2
-2
lines changed
  • src/instrumentman/geocomtest

1 file changed

+2
-2
lines changed

src/instrumentman/geocomtest/app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from click_extra import (
22
echo,
3-
prompt
3+
pause
44
)
55
from serial import SerialException
66
from geocompy.data import Angle
@@ -25,7 +25,7 @@ def tests(tps: GeoCom) -> None:
2525
"The program will attempt to use motorized functions. Give "
2626
"appropriate clearance for the instrument!"
2727
)
28-
prompt("Press ENTER when ready to proceed...")
28+
pause("Press any key when ready to proceed...")
2929

3030
echo("(Switching ATR off...)")
3131
tps.aut.switch_atr(False)

0 commit comments

Comments
 (0)