Skip to content

Commit

Permalink
ignore codecs error when loading the event log
Browse files Browse the repository at this point in the history
  • Loading branch information
corruptbear committed Apr 24, 2024
1 parent 8d197c8 commit 66f88d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion software/management/dashboard/processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def seconds_to_human_readable(seconds):

def extract_simple_event_log(logpath):
#line fomat of the simple event log: 2024-02-22 07:33:11 blabla
with open(logpath) as f:
with open(logpath, errors="ignore") as f:
event_log = f.readlines()
event_dict = {}

Expand Down

0 comments on commit 66f88d8

Please sign in to comment.