Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
try if grass module can be imported
git-svn-id: http://svn.osgeo.org/qgis/trunk@10817 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed May 18, 2009
1 parent e10f2c6 commit a6ce56e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/plugins/grass/scripts/qgis.db.connect-login.pg.py
Expand Up @@ -72,7 +72,10 @@
import sys
import os
import string
import grass
try:
import grass
except:
raise Exception ("Cannot find 'grass' Python module. Python is supported by GRASS from version 6.4" )

def main():
host = options['host']
Expand Down

0 comments on commit a6ce56e

Please sign in to comment.