forked from M-Labs/artiq
1
0
Fork 0

Commit missing parts of 1465fe6f8.

This commit is contained in:
whitequark 2016-02-15 21:42:51 +00:00
parent 1465fe6f81
commit a5977a5b62
1 changed files with 1 additions and 1 deletions

View File

@ -288,7 +288,7 @@ def get_vcd_log_channels(log_channel, messages):
message_payload = _extract_log_chars(message.data) message_payload = _extract_log_chars(message.data)
log_entry += message_payload log_entry += message_payload
if len(message_payload) < 4: if len(message_payload) < 4:
channel_name, log_message = log_entry.split(":", maxsplit=1) channel_name, log_message = log_entry.split("\x1E", maxsplit=1)
l = len(log_message) l = len(log_message)
if channel_name in vcd_log_channels: if channel_name in vcd_log_channels:
if vcd_log_channels[channel_name] < l: if vcd_log_channels[channel_name] < l: