Skip to content

Commit

Permalink
[processing] handle non-ASCII characters in modeller algorithm list
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Jun 4, 2014
1 parent fa3f21c commit a37b7e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/modeler/ModelerDialog.py
Expand Up @@ -309,7 +309,7 @@ def saveModel(self, saveAs):
# for the first time, we do it here.
if self.help:
with open(self.descriptionFile + '.help', 'w') as f:
json.dump(self.help, f)
json.dump(self.help, f)
self.help = None
QMessageBox.information(self, self.tr('Model saved'),
self.tr('Model was correctly saved.'))
Expand Down Expand Up @@ -508,7 +508,7 @@ def fillAlgorithmTreeUsingCategories(self):

def fillAlgorithmTreeUsingProviders(self):
self.algorithmTree.clear()
text = str(self.searchBox.text())
text = unicode(self.searchBox.text())
allAlgs = ModelerUtils.getAlgorithms()
for providerName in allAlgs.keys():
groups = {}
Expand Down

0 comments on commit a37b7e4

Please sign in to comment.