Skip to content
Permalink
Browse files

try if grass module can be imported

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10817 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek
rblazek committed May 18, 2009
1 parent 75bd975 commit 5e15a9fc9ad1c4288dc97950c445947716d03f5a
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 5e15a9f

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