소스 검색

fix https://trac.osgeo.org/grass/changeset/43266

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@43278 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 14 년 전
부모
커밋
cef7b09697
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 3
      gui/wxpython/gui_modules/menuform.py

+ 2 - 3
gui/wxpython/gui_modules/menuform.py

@@ -1993,10 +1993,9 @@ def getInterfaceDescription(cmd):
         cmdout = grass.Popen([cmd, '--interface-description'], stdout = grass.PIPE).communicate()[0]
     except OSError:
         raise gcmd.GException, _("Unable to fetch interface description for command '%s'.") % cmd
-    cmdout.replace('grass-interface.dtd', os.path.join(globalvar.ETCDIR, 'grass-interface.dtd'))
     
-    return cmdout
-
+    return cmdout.replace('grass-interface.dtd', os.path.join(globalvar.ETCDIR, 'grass-interface.dtd'))
+    
 class GrassGUIApp(wx.App):
     """!Stand-alone GRASS command GUI
     """