Skip to content
Permalink
Browse files
Fix UnicodeDecodeError in Processing history
  • Loading branch information
agiudiceandrea authored and nyalldawson committed Jun 24, 2021
1 parent fdb5bd4 commit 76bef98fdf2d3049c3b0ec438fef1aac8e84785b
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/core/ProcessingLog.py
@@ -64,7 +64,7 @@ def addToLog(msg):
def getLogEntries():
entries = []

with open(ProcessingLog.logFilename()) as f:
with open(ProcessingLog.logFilename(), encoding='utf-8') as f:
lines = f.readlines()
for line in lines:
line = line.strip('\n').strip()

0 comments on commit 76bef98

Please sign in to comment.