[GRASS-SVN] r68701 - grass/trunk/lib/python/script
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Jun 16 19:23:57 PDT 2016
Author: annakrat
Date: 2016-06-16 19:23:57 -0700 (Thu, 16 Jun 2016)
New Revision: 68701
Modified:
grass/trunk/lib/python/script/task.py
Log:
wxGUI: fix passing non ascii characters to d.text
Modified: grass/trunk/lib/python/script/task.py
===================================================================
--- grass/trunk/lib/python/script/task.py 2016-06-17 01:19:24 UTC (rev 68700)
+++ grass/trunk/lib/python/script/task.py 2016-06-17 02:23:57 UTC (rev 68701)
@@ -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