[GRASS-SVN] r64809 - grass/trunk/gui/wxpython/gui_core
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Mar 7 10:01:56 PST 2015
Author: annakrat
Date: 2015-03-07 10:01:56 -0800 (Sat, 07 Mar 2015)
New Revision: 64809
Modified:
grass/trunk/gui/wxpython/gui_core/goutput.py
Log:
wxGUI: encode from unicode when saving module output to file, see #2614
Modified: grass/trunk/gui/wxpython/gui_core/goutput.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/goutput.py 2015-03-06 11:11:14 UTC (rev 64808)
+++ grass/trunk/gui/wxpython/gui_core/goutput.py 2015-03-07 18:01:56 UTC (rev 64809)
@@ -384,7 +384,7 @@
try:
output = open(path, "w")
- output.write(text)
+ output.write(EncodeString(text))
except IOError as e:
GError(_("Unable to write file '%(path)s'.\n\nDetails: %(error)s") % {'path': path, 'error': e})
finally:
More information about the grass-commit
mailing list