Skip to content
Permalink
Browse files

Fix db_manager

  • Loading branch information
m-kuhn committed Aug 10, 2016
1 parent 44d6d21 commit 3aff45cc1319fd13a5e16319bc0444f42bc27cde
@@ -81,7 +81,7 @@ def connect(self, parent=None):
service, host, port, database, username, password, authcfg = [settings.value(x, "", type=str) for x in settingsList]

useEstimatedMetadata = settings.value("estimatedMetadata", False, type=bool)
sslmode = settings.value("sslmode", QgsDataSourceUri.SSLprefer, type=int)
sslmode = settings.value("sslmode", QgsDataSourceUri.SslPrefer, type=int)

settings.endGroup()

@@ -51,7 +51,7 @@ def uri_from_name(conn_name):
service, host, port, database, username, password, authcfg = [settings.value(x, "", type=str) for x in settingsList]

useEstimatedMetadata = settings.value("estimatedMetadata", False, type=bool)
sslmode = settings.value("sslmode", QgsDataSourceUri.SSLprefer, type=int)
sslmode = settings.value("sslmode", QgsDataSourceUri.SslPrefer, type=int)

settings.endGroup()

0 comments on commit 3aff45c

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