Skip to content

Commit

Permalink
Fixing #244
Browse files Browse the repository at this point in the history
close #244
  • Loading branch information
SimonSAMPERE committed Sep 12, 2019
1 parent bf72425 commit 04bddcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/layer/add_layer.py
Expand Up @@ -910,7 +910,7 @@ def adding(self, layer_info):
schema = layer_info.get("schema", "")
table = layer_info.get("table", "")
# Retrieve the database information stored in the PostGISdict
uri = QgsDataSourceURI()
uri = QgsDataSourceUri()
host = self.PostGISdict[base_name]["host"]
port = self.PostGISdict[base_name]["port"]
user = self.PostGISdict[base_name]["username"]
Expand Down

0 comments on commit 04bddcc

Please sign in to comment.