We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f415c5 commit 8968b63Copy full SHA for 8968b63
python/plugins/db_manager/db_plugins/postgis/connector.py
@@ -67,7 +67,7 @@ def __init__(self, uri):
67
self.connection = psycopg2.connect(expandedConnInfo)
68
except self.connection_error_types() as e:
69
# get credentials if cached or asking to the user no more than 3 times
70
- err = unicode(e)
+ err = str(e)
71
uri = self.uri()
72
conninfo = uri.connectionInfo(False)
73
@@ -89,7 +89,7 @@ def __init__(self, uri):
89
90
if i == 2:
91
raise ConnectionError(e)
92
93
finally:
94
# clear certs for each time trying to connect
95
self._clearSslTempCertsIfAny(newExpandedConnInfo)
0 commit comments