wiikoo's picture
Upload custom_nodes/ComfyUI-Crystools/general/hdd.py with huggingface_hub
7ff7578 verified
raw
history blame contribute delete
211 Bytes
import psutil
from ..core import logger
def getDrivesInfo():
hdds = []
logger.debug('Getting HDDs info...')
for partition in psutil.disk_partitions():
hdds.append(partition.mountpoint)
return hdds