Skip to content
Permalink
Browse files

Fix DB manager to work with SpatiaLite < 4.2

  • Loading branch information
wonder-sk committed Feb 23, 2016
1 parent b952f0f commit 63be2e5303ff7ca3ebbf6447be8747053d23d27d
Showing with 3 additions and 0 deletions.
  1. +3 −0 python/plugins/db_manager/db_plugins/spatialite/connector.py
@@ -108,6 +108,9 @@ def _checkGeopackageTables(self):
result = self._execute(None, sql).fetchone()[0] == 1
except ConnectionError:
result = False
except Exception as e:
# SpatiaLite < 4.2 does not have HasGeoPackage() function
result = False

if result:
try:

0 comments on commit 63be2e5

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