Skip to content

Commit 85ce676

Browse files
committedJun 12, 2014
db_mananger: fix loading geometryless tables (fixes #10566)
1 parent d1e3dbc commit 85ce676

File tree

1 file changed

+1
-1
lines changed
  • python/plugins/db_manager/db_plugins

1 file changed

+1
-1
lines changed
 

‎python/plugins/db_manager/db_plugins/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ def uri(self):
554554
schema = self.schemaName() if self.schemaName() else ''
555555
geomCol = self.geomColumn if self.type in [Table.VectorType, Table.RasterType] else ""
556556
uniqueCol = self.getValidQGisUniqueFields(True) if self.isView else None
557-
uri.setDataSource(schema, self.name, geomCol if geomCol else "", "", uniqueCol.name if uniqueCol else "" )
557+
uri.setDataSource(schema, self.name, geomCol if geomCol else None, uniqueCol.name if uniqueCol else "" )
558558
return uri
559559

560560
def mimeUri(self):

0 commit comments

Comments
 (0)
Please sign in to comment.