added innertube context for config
This commit is contained in:
parent
e73e29e2cc
commit
b6eb1cbec6
@ -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
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user