diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2020-03-15 21:35:54 +0100 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2020-03-15 21:35:54 +0100 |
commit | 76405dae0d70ff4fafc3ab0380233ece24855202 (patch) | |
tree | d4aa4da3548d9e1013f0d3ba3930d5e2a81007a9 | |
parent | 24f641766036661dff706fed56b6aff8f473cc8b (diff) |
A lazy fix for the random empty lines
-rw-r--r-- | rcon.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -37,6 +37,10 @@ class JournalViewer: def write(self, text, color_override=None): for line in str(text).split("\n"): + # FIXME: where are these empty lines coming from? + if line == "": + continue + if color_override is None: markup = trem_to_markup(line) else: |