diff --git a/src/pypi_data/cli.py b/src/pypi_data/cli.py index b4e6fe65..a09c9a9a 100644 --- a/src/pypi_data/cli.py +++ b/src/pypi_data/cli.py @@ -1,3 +1,4 @@ +import os import threading import time @@ -112,7 +113,7 @@ def print_thread(): time.sleep(1) memory = psutil.virtual_memory() cpu = psutil.cpu_percent() - disk = psutil.disk_usage("/") + disk = psutil.disk_usage(os.getcwd()) print(f'\n{memory.available=} / {memory=} / {cpu=} / {disk=}\n') t = threading.Thread(target=print_thread, daemon=True)