diff --git a/src/music_kraken/utils/config/__init__.py b/src/music_kraken/utils/config/__init__.py index bed0f69..e1def0a 100644 --- a/src/music_kraken/utils/config/__init__.py +++ b/src/music_kraken/utils/config/__init__.py @@ -28,9 +28,6 @@ def write_config(): for section in _sections: section.write() -def set_name_to_value(): - pass - main_settings: main_config.SettingsStructure = main_config.config.loaded_settings logging_settings: logging_config.SettingsStructure = logging_config.config.loaded_settings youtube_settings: youtube_config.SettingsStructure = youtube_config.config.loaded_settings diff --git a/src/music_kraken/utils/config/config.py b/src/music_kraken/utils/config/config.py index fff26ff..a353e2b 100644 --- a/src/music_kraken/utils/config/config.py +++ b/src/music_kraken/utils/config/config.py @@ -44,7 +44,7 @@ class Config: @property 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): with self.config_file.open("w") as conf_file: