[GRASS-SVN] r67205 - grass/trunk/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Dec 17 05:33:30 PST 2015


Author: annakrat
Date: 2015-12-17 05:33:30 -0800 (Thu, 17 Dec 2015)
New Revision: 67205

Modified:
   grass/trunk/gui/wxpython/gui_core/forms.py
Log:
wxGUI: continue fix for #2827

Modified: grass/trunk/gui/wxpython/gui_core/forms.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/forms.py	2015-12-17 13:23:01 UTC (rev 67204)
+++ grass/trunk/gui/wxpython/gui_core/forms.py	2015-12-17 13:33:30 UTC (rev 67205)
@@ -2341,7 +2341,7 @@
                                    ignoreRequired = ignoreRequired)
         except ValueError as err:
             dlg = wx.MessageDialog(parent = self,
-                                   message = unicode(err),
+                                   message = gcmd.DecodeString(str(err)),
                                    caption = _("Error in %s") % self.task.name,
                                    style = wx.OK | wx.ICON_ERROR | wx.CENTRE)
             dlg.ShowModal()



More information about the grass-commit mailing list