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

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Dec 22 17:44:43 PST 2015


Author: annakrat
Date: 2015-12-22 17:44:43 -0800 (Tue, 22 Dec 2015)
New Revision: 67334

Modified:
   grass/trunk/gui/wxpython/gui_core/forms.py
Log:
wxGUI: fix encoding issue from #2835

Modified: grass/trunk/gui/wxpython/gui_core/forms.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/forms.py	2015-12-22 22:17:52 UTC (rev 67333)
+++ grass/trunk/gui/wxpython/gui_core/forms.py	2015-12-23 01:44:43 UTC (rev 67334)
@@ -629,7 +629,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