Browse Source

wxGUI: fix passing non ascii characters to d.text

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@68701 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 9 years ago
parent
commit
09c700d688
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/python/script/task.py

+ 1 - 1
lib/python/script/task.py

@@ -653,7 +653,7 @@ def cmdlist_to_tuple(cmd):
     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'):