fix commit method usage (belongs to connection, not cursor)

This commit is contained in:
Mathieu Deous 2013-12-14 15:58:09 +01:00
parent c5a3f54b89
commit af7ad31182

View File

@ -87,7 +87,7 @@ class Database(object):
self.connection.close()
def commit(self):
self.cursor.commit()
self.connection.commit()
def execute(self, statement, arguments=None):
if arguments: