Skip to content
Permalink
Browse files

[db manager] fix spatialite error reporting

  • Loading branch information
nirvn committed Oct 7, 2016
1 parent dab18e7 commit 20d006e101ec4a515e2cc85901f5bf4c886599bf
@@ -31,6 +31,7 @@
from ..plugin import ConnectionError, DbError, Table

from qgis.utils import spatialite_connect
import sqlite3 as sqlite


def classFactory():
@@ -163,7 +163,7 @@ def accept(self):
if self.chkDropTable.isChecked():
options['overwrite'] = True

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

0 comments on commit 20d006e

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