[GRASS-SVN] r57865 - grass/trunk/gui/wxpython/lmgr

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Sep 29 18:42:09 PDT 2013


Author: wenzeslaus
Date: 2013-09-29 18:42:09 -0700 (Sun, 29 Sep 2013)
New Revision: 57865

Modified:
   grass/trunk/gui/wxpython/lmgr/frame.py
Log:
wxGUI/lmgr: attempt to handle non-ascii characters returned by platform.platform function

Modified: grass/trunk/gui/wxpython/lmgr/frame.py
===================================================================
--- grass/trunk/gui/wxpython/lmgr/frame.py	2013-09-29 20:58:24 UTC (rev 57864)
+++ grass/trunk/gui/wxpython/lmgr/frame.py	2013-09-30 01:42:09 UTC (rev 57865)
@@ -992,7 +992,7 @@
                                                vInfo['gdal'], vInfo['proj4'], vInfo['geos'], vInfo['sqlite'],
                                                platform.python_version(),
                                                wx.__version__,
-                                               _("Platform"), platform.platform(), osgeo4w),
+                                               _("Platform"), platform.platform().decode('utf8', errors='replace'), osgeo4w),
                                 priority = 2)
         self._gconsole.WriteCmdLog(' ')
     



More information about the grass-commit mailing list