Skip to content
Permalink
Browse files

[processing] Fix missing schemas in postgis destination selection panel

  • Loading branch information
nyalldawson committed Jun 5, 2018
1 parent 9780068 commit cbbe905fae1593043b672983552078e4bc3cb37e
Showing with 4 additions and 1 deletion.
  1. +4 −1 python/plugins/processing/tools/postgis.py
@@ -55,7 +55,10 @@ 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)
try:
sslmode = settings.value("sslmode", QgsDataSourceUri.SslPrefer, type=int)
except TypeError:
sslmode = QgsDataSourceUri.SslPrefer

settings.endGroup()

0 comments on commit cbbe905

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