Skip to content

Commit 8dc28f2

Browse files
committedJun 28, 2013
PostgreSQL not working in DB Manager (Fix #8191)
1 parent a7cae07 commit 8dc28f2

File tree

1 file changed

+1
-1
lines changed
  • python/plugins/db_manager/db_plugins/postgis

1 file changed

+1
-1
lines changed
 

‎python/plugins/db_manager/db_plugins/postgis/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def connect(self, parent=None):
8585

8686
settings.endGroup()
8787

88-
if service != "":
88+
if service:
8989
uri.setConnection(service, database, username, password, sslmode)
9090
else:
9191
uri.setConnection(host, port, database, username, password, sslmode)

0 commit comments

Comments
 (0)
Please sign in to comment.