Skip to content
Permalink
Browse files

fix open() call

  • Loading branch information
alexbruy committed Aug 23, 2016
1 parent 008d3cd commit eb308a604daf37f005e351bc3713aec7489b614a
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/taudem/TauDEMAlgorithm.py
@@ -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)

0 comments on commit eb308a6

Please sign in to comment.
You can’t perform that action at this time.