mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 01:26:42 +03:00
minor fix
This commit is contained in:
parent
9eee6c252d
commit
de94bee7b5
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue
Block a user