Warn about disk space a bit earlier

This commit is contained in:
Taylor Helsper 2021-07-18 14:56:57 -05:00
parent e5d91b101a
commit 52697867b7

View File

@ -484,7 +484,7 @@ def index():
# Find drive usage # Find drive usage
drive_usage = get_drive_usage() drive_usage = get_drive_usage()
low_drive_space_error = False low_drive_space_error = False
if int(re.sub("[^0-9]", "", drive_usage)) > 95: if int(re.sub("[^0-9]", "", drive_usage)) >= 95:
low_drive_space_error = True low_drive_space_error = True
# Check for new version of software # Check for new version of software