From 6e161a61059e7991a691818212a6651c24725ce9 Mon Sep 17 00:00:00 2001 From: Claus Lohmar Date: Fri, 24 Jul 2026 09:17:54 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20STAGING=20=E2=86=92=20=5Fstaging()=20in?= =?UTF-8?q?=20SCP=20disk=20check?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app.py b/frontend/app.py index eca4f7d..33ba1a6 100644 --- a/frontend/app.py +++ b/frontend/app.py @@ -456,7 +456,7 @@ def scp_start( dest = sdir / filename # Check disk space - usage = shutil.disk_usage(STAGING) + usage = shutil.disk_usage(_staging(session_id)) free_gb = usage.free / (1024**3) if free_gb < 10: logger.warning("Low disk: %.1f GB free — SCP pull may fail", free_gb)