mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +03:00
fix commit method usage (belongs to connection, not cursor)
This commit is contained in:
parent
c5a3f54b89
commit
af7ad31182
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user