From 072bffdca3af9b85c34c89f7f2a09fea4f530596 Mon Sep 17 00:00:00 2001 From: Feramance Date: Wed, 18 Dec 2024 16:39:27 +0100 Subject: [PATCH] [patch] Hotfix Free space config changes --- qBitrr/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qBitrr/config.py b/qBitrr/config.py index 67cc70c4..66100a02 100644 --- a/qBitrr/config.py +++ b/qBitrr/config.py @@ -128,7 +128,7 @@ def process_flags() -> argparse.Namespace | bool: FREE_SPACE = ENVIRO_CONFIG.settings.free_space or CONFIG.get("Settings.FreeSpace", fallback="-1") FREE_SPACE_FOLDER = ( (ENVIRO_CONFIG.settings.free_space_folder or CONFIG.get_or_raise("Settings.FreeSpaceFolder")) - if int(FREE_SPACE[: len(FREE_SPACE) - 1]) > 0 + if FREE_SPACE != "-1" else None ) NO_INTERNET_SLEEP_TIMER = ENVIRO_CONFIG.settings.no_internet_sleep_timer or CONFIG.get(