Skip to content

Commit 6485902

Browse files
author
volayaf
committed
fixed bug in grass description loading
git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@263 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
1 parent cae0868 commit 6485902

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sextante/grass/GrassUtils.py

+2
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ def grassPath():
4646
folder = plugin_installer.__file__
4747
idx = folder.find('qgis')
4848
folder = folder[:idx] + "grass"
49+
if not os.path.isdir(folder):
50+
return ""
4951
for subfolder in os.listdir(folder):
5052
if subfolder.startswith("grass"):
5153
folder = folder + os.sep + subfolder

0 commit comments

Comments
 (0)