[GRASS-SVN] r49068 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Nov 3 05:52:13 EDT 2011


Author: martinl
Date: 2011-11-03 02:52:13 -0700 (Thu, 03 Nov 2011)
New Revision: 49068

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py
Log:
wxGUI: fix typo from r49064


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py	2011-11-03 09:47:57 UTC (rev 49067)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py	2011-11-03 09:52:13 UTC (rev 49068)
@@ -1918,7 +1918,7 @@
         # parse the interface decription
         if not self.grass_task:
             enc = locale.getdefaultlocale()[1]
-            if enc and enc.lower() != "cp932":
+            if enc and enc.lower() == "cp932":
                 p = re.compile('encoding="' + enc + "'", re.IGNORECASE)
                 tree = etree.fromstring(p.sub('encoding="utf-8"',
                                               gtask.get_interface_description(cmd).decode(enc).encode('utf-8')))



More information about the grass-commit mailing list