Update DashboardLogger.py
Removed the requirement of using `CONFIGURATION_PATH`pull/851/head
parent
390cfa0cdf
commit
d54e388b58
|
|
@ -7,7 +7,7 @@ from datetime import datetime
|
|||
from sqlalchemy_utils import database_exists, create_database
|
||||
|
||||
class DashboardLogger:
|
||||
def __init__(self, CONFIGURATION_PATH, DashboardConfig):
|
||||
def __init__(self, DashboardConfig):
|
||||
self.engine = db.create_engine(DashboardConfig.getConnectionString("wgdashboard_log"))
|
||||
if not database_exists(self.engine.url):
|
||||
create_database(self.engine.url)
|
||||
|
|
|
|||
Loading…
Reference in New Issue