Skip to content

Commit

Permalink
[patch] Hotfix Free space config changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Feramance committed Dec 18, 2024
1 parent 631ec2d commit 072bffd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qBitrr/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 072bffd

Please sign in to comment.