Browse Source

revert https://trac.osgeo.org/grass/changeset/59210 (https://trac.osgeo.org/grass/ticket/2213)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@59220 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 11 years ago
parent
commit
d7d982f032
1 changed files with 4 additions and 3 deletions
  1. 4 3
      lib/init/grass.py

+ 4 - 3
lib/init/grass.py

@@ -1237,9 +1237,10 @@ windows = sys.platform == 'win32'
 cygwin = "cygwin" in sys.platform
 macosx = "darwin" in sys.platform
 
-if 'GISBASE' in os.environ:
-    sys.exit(_("ERROR: GRASS GIS is already running "
-               "(environmental variable GISBASE found)"))
+### commented-out: broken winGRASS 
+# if 'GISBASE' in os.environ:
+#     sys.exit(_("ERROR: GRASS GIS is already running "
+#                "(environmental variable GISBASE found)"))
 
 # Set GISBASE
 os.environ['GISBASE'] = gisbase