Skip to content

Commit

Permalink
Issue #200 - Properly decode received log messages in GUI plugin
Browse files Browse the repository at this point in the history
Update the process_log_msg() helper to properly decode the received 0MQ
message from bytes into a str prior to passing it off to
log.parseSyslog. This necessary change was overlooked in our testing for
the new 0MQ send / recv call updates in Core / GUI.

Resolve #200
  • Loading branch information
MJJoyce committed Mar 10, 2021
1 parent 7c8be23 commit aed0b81
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ait/gui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ def process_telem_msg(self, msg):
Sessions.addTelemetry(msg[0], msg[1])

def process_log_msg(self, msg):
msg = msg.decode()
parsed = log.parseSyslog(msg)
Sessions.addMessage(parsed)

Expand Down

0 comments on commit aed0b81

Please sign in to comment.