From df9380ab3db6ab6c7f3e5ef6742b45fa9ada6fea Mon Sep 17 00:00:00 2001 From: derrod Date: Thu, 17 Dec 2020 14:39:05 +0100 Subject: [PATCH] [core] Fix calculating install size *again* --- legendary/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legendary/core.py b/legendary/core.py index 6e0e193..e00f581 100644 --- a/legendary/core.py +++ b/legendary/core.py @@ -880,7 +880,7 @@ class LegendaryCore: # check if enough disk space is free (dl size is the approximate amount the installation will grow) min_disk_space = analysis.install_size if updating: - min_disk_space += analysis.biggest_file_size + analysis.install_size + min_disk_space += analysis.biggest_file_size # todo when resuming, only check remaining files _, _, free = shutil.disk_usage(os.path.split(install.install_path)[0])