Update connector.py

This commit is contained in:
Corentin.F 2019-02-07 18:45:53 +01:00 committed by GitHub
parent 8ed7971626
commit 68c541b969
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -742,7 +742,7 @@ class PostGisDBConnector(DBConnector):
self._commit()
def commentTable(self, schema, tablename, comment=None, db):
def commentTable(self, schema, tablename, db, comment=None):
if comment == None:
db.connector._execute(None, 'COMMENT ON TABLE "{0}"."{1}" IS NULL;'.format(schema, tablename))
else: