mirror of
https://github.com/mgeeky/Penetration-Testing-Tools.git
synced 2026-10-28 12:01:25 +01:00
Update Database.py
This commit is contained in:
1 parent
089710422d
commit
1b129279bb
1 file changed
+1
-1
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user