mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
minor fix
This commit is contained in:
@@ -50,9 +50,13 @@ class Connector:
|
|||||||
return self.cursor
|
return self.cursor
|
||||||
|
|
||||||
def close(self):
|
def close(self):
|
||||||
self.cursor.close()
|
try:
|
||||||
self.connector.close()
|
self.cursor.close()
|
||||||
self.closed()
|
self.connector.close()
|
||||||
|
except Exception, msg:
|
||||||
|
logger.debug(msg)
|
||||||
|
finally:
|
||||||
|
self.closed()
|
||||||
|
|
||||||
def checkFileDb(self):
|
def checkFileDb(self):
|
||||||
if not os.path.exists(self.db):
|
if not os.path.exists(self.db):
|
||||||
|
|||||||
Reference in New Issue
Block a user