Skip to content

Commit a21b5f4

Browse files
committed
Removing newline that is at the end of the logfile when reading it
1 parent 92c7fb9 commit a21b5f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/gui/log_dialog.py

+1
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ def reset_log_text_box(self):
9696
def update_log_text_box(self):
9797
logs_as_text, self.last_read_position = files.load_log_with_position(self.last_read_position)
9898
if logs_as_text:
99+
logs_as_text = logs_as_text.rstrip('\n')
99100
self.text_box.appendPlainText(logs_as_text)
100101
self.text_box.repaint()
101102
if self.trailing_logs:

0 commit comments

Comments
 (0)