From 52697867b7572bb37a68ee27058d45263fc2a9f3 Mon Sep 17 00:00:00 2001 From: Taylor Helsper Date: Sun, 18 Jul 2021 14:56:57 -0500 Subject: [PATCH] Warn about disk space a bit earlier --- rootfs/standard/var/www/mynode/mynode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootfs/standard/var/www/mynode/mynode.py b/rootfs/standard/var/www/mynode/mynode.py index 69ce7ce8..135e5e7c 100644 --- a/rootfs/standard/var/www/mynode/mynode.py +++ b/rootfs/standard/var/www/mynode/mynode.py @@ -484,7 +484,7 @@ def index(): # Find drive usage drive_usage = get_drive_usage() 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 # Check for new version of software