[GRASS-SVN] r68939 - grass/branches/releasebranch_7_2/gui/wxpython/core

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jul 10 09:11:19 PDT 2016


Author: annakrat
Date: 2016-07-10 09:11:18 -0700 (Sun, 10 Jul 2016)
New Revision: 68939

Modified:
   grass/branches/releasebranch_7_2/gui/wxpython/core/render.py
Log:
wxGUI: fix passing non ascii characters to d.text (merge from trunk, r68702)

Modified: grass/branches/releasebranch_7_2/gui/wxpython/core/render.py
===================================================================
--- grass/branches/releasebranch_7_2/gui/wxpython/core/render.py	2016-07-10 16:07:26 UTC (rev 68938)
+++ grass/branches/releasebranch_7_2/gui/wxpython/core/render.py	2016-07-10 16:11:18 UTC (rev 68939)
@@ -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