Browse Source

wxGUI: do not add extension to scripts, this should fix launching gui for now, need to be revised

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@61171 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 10 years ago
parent
commit
7203fe16c3
1 changed files with 4 additions and 4 deletions
  1. 4 4
      gui/wxpython/core/gcmd.py

+ 4 - 4
gui/wxpython/core/gcmd.py

@@ -63,10 +63,10 @@ except IOError:
 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