implemented basis for config
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
from dynaconf import Dynaconf
|
||||
from dynaconf import settings
|
||||
from dynaconf.utils import object_merge
|
||||
|
||||
from .path_manager import LOCATIONS
|
||||
# from .path_manager import LOCATIONS
|
||||
|
||||
"""
|
||||
https://www.dynaconf.com/settings_files/
|
||||
@@ -12,6 +14,27 @@ The concept is that I package a config file, with this programm, and then load i
|
||||
Then I check if there is a config file at the LOCATIONS.CONFIG_FILE, and if yes they get merged
|
||||
"""
|
||||
|
||||
settings = Dynaconf(
|
||||
settings_files=[str(LOCATIONS.CONFIG_FILE)],
|
||||
settings.happy_message = [
|
||||
"Support the artist.",
|
||||
"Star Me: https://github.com/HeIIow2/music-downloader",
|
||||
"🏳️⚧️🏳️⚧️ Trans rights are human rights. 🏳️⚧️🏳️⚧️",
|
||||
"🏳️⚧️🏳️⚧️ Trans women are women, trans men are men, and enbies are enbies. 🏳️⚧️🏳️⚧️",
|
||||
"🏴☠️🏴☠️ Unite under one flag, fck borders. 🏴☠️🏴☠️",
|
||||
"Join my Matrix Space: https://matrix.to/#/#music-kraken:matrix.org",
|
||||
"Gotta love the BPJM ;-;",
|
||||
"🏳️⚧️🏳️⚧️ Protect trans youth. 🏳️⚧️🏳️⚧️",
|
||||
"Nonstop Progressive Marxism.",
|
||||
]
|
||||
|
||||
|
||||
dynacont_object = Dynaconf(
|
||||
settings_files=[str(LOCATIONS.CONFIG_FILE)]
|
||||
)
|
||||
|
||||
|
||||
|
||||
class Settings:
|
||||
def __init__(self) -> None:
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user