Update Database.py

This commit is contained in:
Mariusz 2019-02-28 22:47:32 +01:00 committed by GitHub
parent 089710422d
commit 1b129279bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ class Database:
def close(self): def close(self):
Logger.dbg("Closing database connection.") Logger.dbg("Closing database connection.")
self.databaseConnection.close() if self.databaseConnection: self.databaseConnection.close()
self.databaseConnection = None self.databaseConnection = None
def connection(self, host, user, password, db = None): def connection(self, host, user, password, db = None):