mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +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()
|
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 New Issue
Block a user