Skip to content

Commit

Permalink
display: minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
outdoorbits committed Jan 13, 2024
1 parent 8fd251f commit 8492979
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/display.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,8 +392,9 @@ def main(self):
if len(Lines) < self.const_DISPLAY_LINES_LIMIT:
Line = Line.split(':',1)[-1]
if Line:
Line = "s=b:{}".format(Line)
Lines.append(Line)
if Line[0:4] != 'set:':
Line = "s=b:{}".format(Line)
Lines.append(Line)

# fill line count to const_DISPLAY_LINES_LIMIT
while len(Lines) < self.const_DISPLAY_LINES_LIMIT:
Expand Down

0 comments on commit 8492979

Please sign in to comment.