mirror of
https://github.com/mgeeky/Penetration-Testing-Tools.git
synced 2024-12-22 09:05:06 +01:00
Update Database.py
This commit is contained in:
parent
089710422d
commit
1b129279bb
@ -61,7 +61,7 @@ class Database:
|
||||
|
||||
def close(self):
|
||||
Logger.dbg("Closing database connection.")
|
||||
self.databaseConnection.close()
|
||||
if self.databaseConnection: self.databaseConnection.close()
|
||||
self.databaseConnection = None
|
||||
|
||||
def connection(self, host, user, password, db = None):
|
||||
|
Loading…
Reference in New Issue
Block a user