Skip to content

Commit

Permalink
[grass] broken doc detection on windows when fixing linux
Browse files Browse the repository at this point in the history
git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@121 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
  • Loading branch information
julien.malik@gmail.com committed Apr 19, 2012
1 parent 78d1ee2 commit 97dbc83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sextante/grass/GrassUtils.py
Expand Up @@ -56,9 +56,9 @@ def grassPath():
@staticmethod
def grassHelpPath():
folder = SextanteConfig.getSetting(GrassUtils.GRASS_HELP_FOLDER)
if folder is None:
if folder == None:
if SextanteUtils.isWindows():
testfolders = os.path.join(GrassUtils.grassPath(), "docs", "html")
testfolders = [os.path.join(GrassUtils.grassPath(), "docs", "html")]
else:
testfolders = ['/usr/share/doc/grass-doc/html']
for f in testfolders:
Expand Down

0 comments on commit 97dbc83

Please sign in to comment.