mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Introducing lib/utils/sqlalchemy.py (Issue #361)
This commit is contained in:
parent
b6fee638ef
commit
3e65037a05
5 changed files with 74 additions and 13 deletions
|
|
@ -46,8 +46,10 @@ class Connector:
|
|||
|
||||
def close(self):
|
||||
try:
|
||||
self.cursor.close()
|
||||
self.connector.close()
|
||||
if self.cursor:
|
||||
self.cursor.close()
|
||||
if self.connector:
|
||||
self.connector.close()
|
||||
except Exception, msg:
|
||||
logger.debug(msg)
|
||||
finally:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue