From 49d1db3571db12ec0fcc5753d8ccaac47cb63caf Mon Sep 17 00:00:00 2001 From: zmf96 <1602893+zmf96@user.noreply.gitee.com> Date: Sun, 18 May 2025 15:21:49 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=BD=93=E5=9C=A8lxc=E5=AE=B9=E5=99=A8?= =?UTF-8?q?=E8=BF=90=E8=A1=8C=E6=97=B6=EF=BC=8C=E8=8E=B7=E5=8F=96=E7=A3=81?= =?UTF-8?q?=E7=9B=98=E4=BF=A1=E6=81=AF=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zmf96 <1602893+zmf96@user.noreply.gitee.com> --- applications/view/system/monitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/view/system/monitor.py b/applications/view/system/monitor.py index ac295d2..72d02fe 100644 --- a/applications/view/system/monitor.py +++ b/applications/view/system/monitor.py @@ -24,7 +24,7 @@ def get_disk_partitions_list(): disk_partitions = psutil.disk_partitions() for i in disk_partitions: try: - a = psutil.disk_usage(i.device) + a = psutil.disk_usage(i.mountpoint) except PermissionError: continue -- Gitee