[GRASS-SVN] r69177 - grass/branches/releasebranch_7_0/gui/wxpython/core

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Aug 21 06:27:58 PDT 2016


Author: annakrat
Date: 2016-08-21 06:27:58 -0700 (Sun, 21 Aug 2016)
New Revision: 69177

Modified:
   grass/branches/releasebranch_7_0/gui/wxpython/core/utils.py
Log:
wxGUI: fix passing non ascii characters to d.text

Modified: grass/branches/releasebranch_7_0/gui/wxpython/core/utils.py
===================================================================
--- grass/branches/releasebranch_7_0/gui/wxpython/core/utils.py	2016-08-21 13:12:45 UTC (rev 69176)
+++ grass/branches/releasebranch_7_0/gui/wxpython/core/utils.py	2016-08-21 13:27:58 UTC (rev 69177)
@@ -518,7 +518,7 @@
     for item in cmd[1:]:
         if '=' in item: # params
             key, value = item.split('=', 1)
-            dcmd[str(key)] = str(value).replace('"', '')
+            dcmd[str(key)] = value.replace('"', '')
         elif item[:2] == '--': # long flags
             flag = item[2:]
             if flag in ('help', 'verbose', 'quiet', 'overwrite'):



More information about the grass-commit mailing list