mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
fix commit method usage (belongs to connection, not cursor)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user