Commit 9d0aa8d3 authored by Brendan's avatar Brendan

fix scanner.py; draw 1 space (not 2) after channel label

parent ef08a406
...@@ -71,7 +71,7 @@ class ProgressBar: # pylint: disable=too-few-public-methods ...@@ -71,7 +71,7 @@ class ProgressBar: # pylint: disable=too-few-public-methods
self.x, self.y, self.width, self.win, self.color = (x, y, cols, std_scr, color) self.x, self.y, self.width, self.win, self.color = (x, y, cols, std_scr, color)
self.win.move(self.y, self.x) self.win.move(self.y, self.x)
self.win.attron(curses.color_pair(self.color)) self.win.attron(curses.color_pair(self.color))
self.win.addstr(label + " ") # always labeled in MHz (4 digits) self.win.addstr(label) # always labeled in MHz (4 digits)
for _ in range(self.width - 8): # draw the empty bar for _ in range(self.width - 8): # draw the empty bar
self.win.addch(curses.ACS_HLINE) self.win.addch(curses.ACS_HLINE)
self.win.addstr(" - ") # draw the initial signal count self.win.addstr(" - ") # draw the initial signal count
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment