mirror of
https://github.com/mgeeky/Penetration-Testing-Tools.git
synced 2024-11-25 03:51:37 +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