From 9a92f4ad4c0445e6fb8e73ac8aee2ff2750abbb5 Mon Sep 17 00:00:00 2001 From: StormYudi <952637635@qq.com> Date: Thu, 13 May 2021 14:13:05 +0800 Subject: [PATCH] fix destination filtering for nfs By default, psutil.disk_partitions will not return the nfs mount point, and it will result in drive does not have enough space error. change to True to fix the problem. --- plotmanager/library/utilities/processes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plotmanager/library/utilities/processes.py b/plotmanager/library/utilities/processes.py index d4b19ad..2b58b98 100644 --- a/plotmanager/library/utilities/processes.py +++ b/plotmanager/library/utilities/processes.py @@ -120,7 +120,7 @@ def get_chia_drives(): def get_system_drives(): drives = [] - for disk in psutil.disk_partitions(): + for disk in psutil.disk_partitions(all=True): drive = disk.mountpoint if is_windows(): drive = os.path.splitdrive(drive)[0]