mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-07 08:52:20 +01:00
fix commit method usage (belongs to connection, not cursor)
This commit is contained in:
parent
c5a3f54b89
commit
af7ad31182
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ class Database(object):
|
||||||
self.connection.close()
|
self.connection.close()
|
||||||
|
|
||||||
def commit(self):
|
def commit(self):
|
||||||
self.cursor.commit()
|
self.connection.commit()
|
||||||
|
|
||||||
def execute(self, statement, arguments=None):
|
def execute(self, statement, arguments=None):
|
||||||
if arguments:
|
if arguments:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue