[GRASS-SVN] r51366 - grass-addons/grass7/raster/r.in.wms2

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Apr 10 15:36:02 EDT 2012


Author: martinl
Date: 2012-04-10 12:36:02 -0700 (Tue, 10 Apr 2012)
New Revision: 51366

Modified:
   grass-addons/grass7/raster/r.in.wms2/r.in.wms2.py
Log:
r.in.wms2: fix r51365


Modified: grass-addons/grass7/raster/r.in.wms2/r.in.wms2.py
===================================================================
--- grass-addons/grass7/raster/r.in.wms2/r.in.wms2.py	2012-04-10 19:21:00 UTC (rev 51365)
+++ grass-addons/grass7/raster/r.in.wms2/r.in.wms2.py	2012-04-10 19:36:02 UTC (rev 51366)
@@ -137,7 +137,7 @@
 
 import os
 import sys
-sys.path.insert(1, os.path.join('..', 'etc', 'r.in.wms2'))
+sys.path.insert(1, os.path.join(os.path.dirname(sys.path[0]), 'etc', 'r.in.wms2'))
 
 import grass.script as grass
 



More information about the grass-commit mailing list