Skip to content
Permalink
Browse files

[db manager] fix non-spatial import

  • Loading branch information
nirvn committed Oct 7, 2016
1 parent a9e9a6e commit dab18e767535e77285de7f0526a1beea475046e5
@@ -163,7 +163,7 @@ def accept(self):
if self.chkDropTable.isChecked():
options['overwrite'] = True

outCrs = None
outCrs = QgsCoordinateReferenceSystem
if self.chkTargetSrid.isEnabled() and self.chkTargetSrid.isChecked():
targetSrid = int(self.editTargetSrid.text())
outCrs = QgsCoordinateReferenceSystem(targetSrid)
@@ -315,7 +315,7 @@ def accept(self):
if self.chkSinglePart.isEnabled() and self.chkSinglePart.isChecked():
options['forceSinglePartGeometryType'] = True

outCrs = None
outCrs = QgsCoordinateReferenceSystem()
if self.chkTargetSrid.isEnabled() and self.chkTargetSrid.isChecked():
targetSrid = int(self.editTargetSrid.text())
outCrs = QgsCoordinateReferenceSystem(targetSrid)

0 comments on commit dab18e7

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