From e126a6b45b6b05f06a5ea039451d55b0ec302199 Mon Sep 17 00:00:00 2001 From: Faraphel Date: Tue, 2 Aug 2022 18:37:47 +0200 Subject: [PATCH] disk space check was done on the wrong directory --- source/gui/install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/gui/install.py b/source/gui/install.py index 31809c9..3e0bdbc 100644 --- a/source/gui/install.py +++ b/source/gui/install.py @@ -394,7 +394,7 @@ class ButtonInstall(ttk.Button): return # if there is no more space on the installer drive, show a warning - if shutil.disk_usage("../../../../Downloads").free < minimum_space_available: + if shutil.disk_usage(".").free < minimum_space_available: if not messagebox.askokcancel(_("WARNING"), _("WARNING_LOW_SPACE_CONTINUE")): return