gui/log: split lines correctly

This commit is contained in:
Sebastien Bourdeauducq 2016-03-25 20:01:02 +08:00
parent 5c6e2d7a3a
commit 3f333a58af

View File

@ -63,7 +63,7 @@ class Model(QtCore.QAbstractItemModel):
def append(self, v):
severity, source, timestamp, message = v
self.pending_entries.append((severity, source, timestamp,
message.split("\n")))
message.splitlines()))
def timer_tick(self):
if not self.pending_entries: