Skip to content
Permalink
Browse files

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
rblazek committed May 18, 2009
1 parent e10f2c6 commit a6ce56e23440b322a4503d2c2989e5e95dc1d23d
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/plugins/grass/scripts/qgis.db.connect-login.pg.py
@@ -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']

0 comments on commit a6ce56e

Please sign in to comment.
You can’t perform that action at this time.