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