Add init call to config initialization

This commit is contained in:
Patrick Jentsch 2020-10-21 13:20:46 +02:00
parent eedd75ed69
commit 0ef7355ca1

View File

@ -7,6 +7,7 @@ import os
configuration = config[os.environ.get('NOPAQUE_CONFIG', 'development')] configuration = config[os.environ.get('NOPAQUE_CONFIG', 'development')]
configuration.init()
docker_client = docker.from_env() docker_client = docker.from_env()
engine = create_engine(configuration.SQLALCHEMY_DATABASE_URI) engine = create_engine(configuration.SQLALCHEMY_DATABASE_URI)
Session = scoped_session(sessionmaker(bind=engine)) Session = scoped_session(sessionmaker(bind=engine))