[GRASS-SVN] r68940 - grass/branches/releasebranch_7_2/lib/python/script
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Jul 10 09:13:31 PDT 2016
Author: annakrat
Date: 2016-07-10 09:13:31 -0700 (Sun, 10 Jul 2016)
New Revision: 68940
Modified:
grass/branches/releasebranch_7_2/lib/python/script/task.py
Log:
wxGUI: fix passing non ascii characters to d.text (merge from trunk, r68701)
Modified: grass/branches/releasebranch_7_2/lib/python/script/task.py
===================================================================
--- grass/branches/releasebranch_7_2/lib/python/script/task.py 2016-07-10 16:11:18 UTC (rev 68939)
+++ grass/branches/releasebranch_7_2/lib/python/script/task.py 2016-07-10 16:13:31 UTC (rev 68940)
@@ -653,7 +653,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