Skip to content

Commit 985e530

Browse files
author
rblazek
committed
fixed wrong port
git-svn-id: http://svn.osgeo.org/qgis/trunk@10886 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent bbc5fdc commit 985e530

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/plugins/grass/scripts/qgis.db.connect-login.pg.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,10 @@ def main():
8585
user = options['user']
8686
password = options['password']
8787

88-
#if not maptable:
89-
# grass.fatal("There is no table connected to this map. Cannot join any column.")
90-
9188
# Test connection
9289
conn = "dbname=" + database
9390
if host: conn += ",host=" + host
94-
if port: conn += ",port=" + host
91+
if port: conn += ",port=" + port
9592

9693
# Unfortunately we cannot test untill user/password is set
9794
if user or password:

0 commit comments

Comments
 (0)