diff --git a/core/network/libtorrent_int.py b/core/network/libtorrent_int.py index c33b794..fcb14f3 100644 --- a/core/network/libtorrent_int.py +++ b/core/network/libtorrent_int.py @@ -100,4 +100,4 @@ def update_settings(): } state.dl_session.apply_settings(settings) - consoleLog("Updated Settings") + diff --git a/core/utils/config/settings.py b/core/utils/config/settings.py index d5b5e0e..1181b16 100644 --- a/core/utils/config/settings.py +++ b/core/utils/config/settings.py @@ -1,5 +1,6 @@ from core.network.libtorrent_int import update_settings from core.utils.data.state import state +from core.utils.general.logs import consoleLog from .config import create_config @@ -21,6 +22,8 @@ def save_settings(close=lambda: None, apiurl=None, download_path=None, down_spee if max_downloads is not None: state.max_downloads = max_downloads + update_settings() + consoleLog("Saved Settings") create_config() close()