You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import os
|
|
|
|
from molten.contrib.toml_settings import TOMLSettings
|
|
|
|
from .common import path_to
|
|
|
|
ENVIRONMENT = os.getenv("ENVIRONMENT", "dev")
|
|
SETTINGS = TOMLSettings.from_path(path_to("settings.toml"), ENVIRONMENT)
|
|
|
|
|
|
def __getattr__(name):
|
|
return getattr(SETTINGS, name)
|