[GRASS-SVN] r67187 - grass/trunk/lib/python/script
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Dec 16 19:43:25 PST 2015
Author: annakrat
Date: 2015-12-16 19:43:24 -0800 (Wed, 16 Dec 2015)
New Revision: 67187
Modified:
grass/trunk/lib/python/script/task.py
Log:
wxGUI: fix unicode error from #2827
Modified: grass/trunk/lib/python/script/task.py
===================================================================
--- grass/trunk/lib/python/script/task.py 2015-12-16 23:47:15 UTC (rev 67186)
+++ grass/trunk/lib/python/script/task.py 2015-12-17 03:43:24 UTC (rev 67187)
@@ -200,7 +200,7 @@
if not desc:
desc = p['description']
errorList.append(_("Parameter '%(name)s' (%(desc)s) is missing.") % \
- {'name': p['name'], 'desc': desc})
+ {'name': p['name'], 'desc': desc.encode('utf-8')})
return errorList
More information about the grass-commit
mailing list