Skip to content

Commit

Permalink
Fix typo in method call
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Oct 16, 2017
1 parent 23c7517 commit 118e303
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/db_manager/db_plugins/gpkg/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -631,9 +631,9 @@ def renameTable(self, table, new_table):
return True

if tablename.find('"') >= 0:
tablename = self.quotedId(tablename)
tablename = self.quoteId(tablename)
if new_table.find('"') >= 0:
new_table = self.quotedId(new_table)
new_table = self.quoteId(new_table)

gdal.ErrorReset()
self.gdal_ds.ExecuteSQL('ALTER TABLE %s RENAME TO %s' % (tablename, new_table))
Expand Down

0 comments on commit 118e303

Please sign in to comment.