[GRASS-SVN] r68702 - grass/trunk/gui/wxpython/core

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jun 16 19:24:44 PDT 2016


Author: annakrat
Date: 2016-06-16 19:24:44 -0700 (Thu, 16 Jun 2016)
New Revision: 68702

Modified:
   grass/trunk/gui/wxpython/core/render.py
Log:
wxGUI: fix passing non ascii characters to d.text

Modified: grass/trunk/gui/wxpython/core/render.py
===================================================================
--- grass/trunk/gui/wxpython/core/render.py	2016-06-17 02:23:57 UTC (rev 68701)
+++ grass/trunk/gui/wxpython/core/render.py	2016-06-17 02:24:44 UTC (rev 68702)
@@ -41,7 +41,7 @@
 from core import utils
 from core.utils import _
 from core.ws import RenderWMSMgr
-from core.gcmd import GException, GError, RunCommand
+from core.gcmd import GException, GError, RunCommand, EncodeString
 from core.debug import Debug
 from core.settings import UserSettings
 from core.gthread import gThread
@@ -1408,9 +1408,9 @@
 
         renderMgr = overlay.GetRenderMgr()
         Debug.msg(
-            1, "Map.AddOverlay(): cmd={}".format(
+            1, "Map.AddOverlay(): cmd={}".format(EncodeString(
                 overlay.GetCmd(
-                    string=True)))
+                    string=True))))
         if renderMgr:
             renderMgr.updateProgress.connect(self.renderMgr.ReportProgress)
         overlay.forceRender = render



More information about the grass-commit mailing list