浏览代码

wxGUI: trac https://trac.osgeo.org/grass/ticket/280 (wxGUI doesn't handle removing maps)
error message in unicode
(merge from devbr6, https://trac.osgeo.org/grass/changeset/33255)


git-svn-id: https://svn.osgeo.org/grass/grass/trunk@33256 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 16 年之前
父节点
当前提交
8a77891b4a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gui/wxpython/gui_modules/gcmd.py

+ 1 - 1
gui/wxpython/gui_modules/gcmd.py

@@ -448,7 +448,7 @@ class Command:
 
         for type, msg in self.__ProcessStdErr():
             if type == 'ERROR':
-                return msg
+                return unicode(msg, "utf-8")
 
         return ''