Skip to content

Commit f84826d

Browse files
committed
[DB_Manager GPKG] Fix logic inversion in GDAL 1.X vs GDAL 2.X cases
1 parent cc0ada9 commit f84826d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/plugins/db_manager/db_plugins/gpkg/connector.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def _execute(self, cursor, sql):
181181
return DBConnector._execute(self, cursor, sql)
182182

183183
def _commit(self):
184-
if not self.gdal2:
184+
if self.gdal2:
185185
return
186186

187187
try:

0 commit comments

Comments
 (0)