Skip to content

Commit

Permalink
Update connector.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Ailurupoda committed Feb 7, 2019
1 parent 8ed7971 commit 68c541b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/db_manager/db_plugins/postgis/connector.py
Expand Up @@ -742,7 +742,7 @@ def renameTable(self, table, new_table):


self._commit() self._commit()


def commentTable(self, schema, tablename, comment=None, db): def commentTable(self, schema, tablename, db, comment=None):
if comment == None: if comment == None:
db.connector._execute(None, 'COMMENT ON TABLE "{0}"."{1}" IS NULL;'.format(schema, tablename)) db.connector._execute(None, 'COMMENT ON TABLE "{0}"."{1}" IS NULL;'.format(schema, tablename))
else: else:
Expand Down

0 comments on commit 68c541b

Please sign in to comment.