Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[processing][SAGA] Avoid unicode errors when parsing description files
Fixes #19062
  • Loading branch information
nyalldawson committed Jun 4, 2018
1 parent ba79644 commit 8307264
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/saga/SagaAlgorithm.py
Expand Up @@ -112,7 +112,7 @@ def flags(self):
return super().flags() | QgsProcessingAlgorithm.FlagNoThreading

def defineCharacteristicsFromFile(self):
with open(self.description_file) as lines:
with open(self.description_file, encoding="utf-8") as lines:
line = lines.readline().strip('\n').strip()
self._name = line
if '|' in self._name:
Expand Down

0 comments on commit 8307264

Please sign in to comment.