From b6eb1cbec622f73a1daba3411291535f7912f789 Mon Sep 17 00:00:00 2001 From: Hellow <74311245+HeIIow2@users.noreply.github.com> Date: Sun, 10 Sep 2023 17:28:23 +0200 Subject: [PATCH] added innertube context for config --- src/music_kraken/utils/config/__init__.py | 3 --- src/music_kraken/utils/config/config.py | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) 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: