mirror of
https://github.com/Faraphel/Atlas-Install.git
synced 2025-07-05 12:18:21 +02:00
disk space check was done on the wrong directory
This commit is contained in:
parent
edb19e02e4
commit
e126a6b45b
1 changed files with 1 additions and 1 deletions
|
@ -394,7 +394,7 @@ class ButtonInstall(ttk.Button):
|
||||||
return
|
return
|
||||||
|
|
||||||
# if there is no more space on the installer drive, show a warning
|
# 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")):
|
if not messagebox.askokcancel(_("WARNING"), _("WARNING_LOW_SPACE_CONTINUE")):
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue