diff --git a/app/buttons/usage/get_usage.py b/app/buttons/usage/get_usage.py index a6b651c..b351d5d 100644 --- a/app/buttons/usage/get_usage.py +++ b/app/buttons/usage/get_usage.py @@ -80,7 +80,7 @@ def get_usage( computer_info["gpus"][f"GPU{count + 1}"] = { "usage_percent": int(utilization.gpu), } - except pynvml.nvml.NVML_ERROR_NOT_SUPPORTED: + except (pynvml.nvml.NVML_ERROR_NOT_SUPPORTED, Exception): computer_info["gpus"]["defaultGPU"] = {} config["settings"]["gpu_method"] = "None"