[GRASS-SVN] r61171 - grass/trunk/gui/wxpython/core

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jul 7 12:50:26 PDT 2014


Author: annakrat
Date: 2014-07-07 12:50:26 -0700 (Mon, 07 Jul 2014)
New Revision: 61171

Modified:
   grass/trunk/gui/wxpython/core/gcmd.py
Log:
wxGUI: do not add extension to scripts, this should fix launching gui for now, need to be revised

Modified: grass/trunk/gui/wxpython/core/gcmd.py
===================================================================
--- grass/trunk/gui/wxpython/core/gcmd.py	2014-07-07 16:04:43 UTC (rev 61170)
+++ grass/trunk/gui/wxpython/core/gcmd.py	2014-07-07 19:50:26 UTC (rev 61171)
@@ -63,10 +63,10 @@
 def GetRealCmd(cmd):
     """Return real command name - only for MS Windows
     """
-    if sys.platform == 'win32':
-        for ext in globalvar.grassScripts.keys():
-            if cmd in globalvar.grassScripts[ext]:
-                return cmd + ext
+#    if sys.platform == 'win32':
+#        for ext in globalvar.grassScripts.keys():
+#            if cmd in globalvar.grassScripts[ext]:
+#                return cmd + ext
     
     return cmd
 



More information about the grass-commit mailing list