Skip to content

Commit

Permalink
fix py scanner countdown timer prompt formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Mar 7, 2024
1 parent 2c6d0f4 commit 936eafe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples_linux/scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def main():
radio.setDataRate(AVAILABLE_RATES[data_rate])
try:
std_scr = init_curses()
timer_prompt = "Scanning for {} seconds at " + OFFERED_DATA_RATES[data_rate]
timer_prompt = "Scanning for {:>3} seconds at " + OFFERED_DATA_RATES[data_rate]
std_scr.addstr(0, 0, "Channels are labeled in MHz.")
std_scr.addstr(1, 0, "Signal counts are clamped to a single hexadecimal digit.")
bars = init_display(std_scr)
Expand Down

0 comments on commit 936eafe

Please sign in to comment.