added innertube context for config

This commit is contained in:
Hellow 2023-09-10 17:28:23 +02:00
parent e73e29e2cc
commit b6eb1cbec6
2 changed files with 1 additions and 4 deletions

View File

@ -28,9 +28,6 @@ def write_config():
for section in _sections: for section in _sections:
section.write() section.write()
def set_name_to_value():
pass
main_settings: main_config.SettingsStructure = main_config.config.loaded_settings main_settings: main_config.SettingsStructure = main_config.config.loaded_settings
logging_settings: logging_config.SettingsStructure = logging_config.config.loaded_settings logging_settings: logging_config.SettingsStructure = logging_config.config.loaded_settings
youtube_settings: youtube_config.SettingsStructure = youtube_config.config.loaded_settings youtube_settings: youtube_config.SettingsStructure = youtube_config.config.loaded_settings

View File

@ -44,7 +44,7 @@ class Config:
@property @property
def toml_string(self): def toml_string(self):
"\n\n".join(component.toml_string for component in self.component_list) return "\n\n".join(component.toml_string for component in self.component_list)
def write(self): def write(self):
with self.config_file.open("w") as conf_file: with self.config_file.open("w") as conf_file: