Skip to content

Commit

Permalink
fixed bug in grass description loading
Browse files Browse the repository at this point in the history
git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@263 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
  • Loading branch information
volayaf committed Jun 23, 2012
1 parent cae0868 commit 6485902
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sextante/grass/GrassUtils.py
Expand Up @@ -46,6 +46,8 @@ def grassPath():
folder = plugin_installer.__file__
idx = folder.find('qgis')
folder = folder[:idx] + "grass"
if not os.path.isdir(folder):
return ""
for subfolder in os.listdir(folder):
if subfolder.startswith("grass"):
folder = folder + os.sep + subfolder
Expand Down

0 comments on commit 6485902

Please sign in to comment.