mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 19:28:26 +08:00
gui/log: split lines correctly
This commit is contained in:
parent
5c6e2d7a3a
commit
3f333a58af
@ -63,7 +63,7 @@ class Model(QtCore.QAbstractItemModel):
|
|||||||
def append(self, v):
|
def append(self, v):
|
||||||
severity, source, timestamp, message = v
|
severity, source, timestamp, message = v
|
||||||
self.pending_entries.append((severity, source, timestamp,
|
self.pending_entries.append((severity, source, timestamp,
|
||||||
message.split("\n")))
|
message.splitlines()))
|
||||||
|
|
||||||
def timer_tick(self):
|
def timer_tick(self):
|
||||||
if not self.pending_entries:
|
if not self.pending_entries:
|
||||||
|
Loading…
Reference in New Issue
Block a user