Skip to content

Commit

Permalink
[DB Manager / GPKG] Fix COMMIT with GDAL 2 (fix #16174)
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Nov 9, 2017
1 parent 9168161 commit 4eed39b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/db_manager/db_plugins/gpkg/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def _execute(self, cursor, sql):
return DBConnector._execute(self, cursor, sql)

def _commit(self):
if self.gdal2:
if self.connection is None:
return

try:
Expand Down

0 comments on commit 4eed39b

Please sign in to comment.