Skip to content

Commit

Permalink
[db manager] fix spatialite error reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Oct 7, 2016
1 parent dab18e7 commit 20d006e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
from ..plugin import ConnectionError, DbError, Table

from qgis.utils import spatialite_connect
import sqlite3 as sqlite


def classFactory():
Expand Down
2 changes: 1 addition & 1 deletion python/plugins/db_manager/dlg_export_vector.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 20d006e

Please sign in to comment.