There was an error while loading. Please reload this page.
1 parent a7cae07 commit 8dc28f2Copy full SHA for 8dc28f2
1 file changed
python/plugins/db_manager/db_plugins/postgis/plugin.py
@@ -85,7 +85,7 @@ def connect(self, parent=None):
85
86
settings.endGroup()
87
88
- if service != "":
+ if service:
89
uri.setConnection(service, database, username, password, sslmode)
90
else:
91
uri.setConnection(host, port, database, username, password, sslmode)
0 commit comments