From 564c0f2ac5a4bb1ed051b613297af951eec58dcc Mon Sep 17 00:00:00 2001 From: Vxrtrauter <101264710+Vxrtrauter@users.noreply.github.com> Date: Sat, 31 Jan 2026 05:09:34 +0100 Subject: [PATCH] refactor: enhance settings update logging and ensure console output on save --- core/network/libtorrent_int.py | 2 +- core/utils/config/settings.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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()