Skip to content

Commit

Permalink
fix open() call
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Aug 23, 2016
1 parent 008d3cd commit eb308a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/taudem/TauDEMAlgorithm.py
Expand Up @@ -66,7 +66,7 @@ def getIcon(self):
return QIcon(os.path.join(pluginPath, 'images', 'taudem.svg'))

def defineCharacteristicsFromFile(self):
with codecs.open(self.descriptionFile, 'utf-8') as f:
with codecs.open(self.descriptionFile, encoding='utf-8') as f:
line = f.readline().strip('\n').strip()
self.name = line
self.i18n_name = self.tr(line)
Expand Down

0 comments on commit eb308a6

Please sign in to comment.