[GRASS-SVN] r61271 - grass/trunk/gui/wxpython/gui_core
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Jul 17 15:14:46 PDT 2014
Author: annakrat
Date: 2014-07-17 15:14:46 -0700 (Thu, 17 Jul 2014)
New Revision: 61271
Modified:
grass/trunk/gui/wxpython/gui_core/dialogs.py
Log:
wxGUI: fix #1972 (v.in.ogr wrapper fails with UnicodeEncodeError)
Modified: grass/trunk/gui/wxpython/gui_core/dialogs.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/dialogs.py 2014-07-17 21:43:32 UTC (rev 61270)
+++ grass/trunk/gui/wxpython/gui_core/dialogs.py 2014-07-17 22:14:46 UTC (rev 61271)
@@ -2153,7 +2153,7 @@
for item in data:
index = self.InsertStringItem(sys.maxint, str(item[0]))
for i in range(1, len(item)):
- self.SetStringItem(index, i, "%s" % str(item[i]))
+ self.SetStringItem(index, i, item[i])
# check by default only on one item
if len(data) == 1:
More information about the grass-commit
mailing list