[GRASS-SVN] r67347 - grass/branches/releasebranch_7_0/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Dec 23 11:02:45 PST 2015


Author: annakrat
Date: 2015-12-23 11:02:45 -0800 (Wed, 23 Dec 2015)
New Revision: 67347

Modified:
   grass/branches/releasebranch_7_0/gui/wxpython/gui_core/forms.py
Log:
wxGUI: fix encoding issue from #2835 (merge from trunk, r67334)

Modified: grass/branches/releasebranch_7_0/gui/wxpython/gui_core/forms.py
===================================================================
--- grass/branches/releasebranch_7_0/gui/wxpython/gui_core/forms.py	2015-12-23 18:53:13 UTC (rev 67346)
+++ grass/branches/releasebranch_7_0/gui/wxpython/gui_core/forms.py	2015-12-23 19:02:45 UTC (rev 67347)
@@ -625,7 +625,8 @@
         
     def updateValuesHook(self, event = None):
         """Update status bar data"""
-        self.SetStatusText(' '.join(map(gcmd.DecodeString, self.notebookpanel.createCmd(ignoreErrors = True))))
+        self.SetStatusText(' '.join([gcmd.DecodeString(each) if isinstance(each, str) else each
+                                     for each in self.notebookpanel.createCmd(ignoreErrors=True)]))
         if event:
             event.Skip()
 



More information about the grass-commit mailing list