From 7e355b9d4977b8daed95da58323f1c6ffcadf521 Mon Sep 17 00:00:00 2001 From: Feramance Date: Wed, 18 Dec 2024 13:33:14 +0100 Subject: [PATCH] [patch] Hotfix 2 --- qBitrr/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qBitrr/config.py b/qBitrr/config.py index 7ea2f114..67cc70c4 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) > 0 + if int(FREE_SPACE[: len(FREE_SPACE) - 1]) > 0 else None ) NO_INTERNET_SLEEP_TIMER = ENVIRO_CONFIG.settings.no_internet_sleep_timer or CONFIG.get(