Fix opening in binary mode destroys parsing with python 3 (#25)

Fix performance graph can't read log with Python 3
This commit is contained in:
Master92 2021-01-06 04:57:14 +01:00 committed by GitHub
parent 71b23c3abe
commit 728dfef0c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ class KlipperLogAnalyzer():
out = []
try:
f = open(logname, 'rb')
f = open(logname, 'r')
for line in f:
parts = line.split()