Remove use of @lru_cache()

We don't really need it, and *someone* is lru_cache_o_phobic or something.
This commit is contained in:
Daniel Johnson 2023-12-04 17:24:19 -05:00
parent 42e51f79fc
commit 263a1bd602

View file

@ -3,7 +3,6 @@
import enum
import os
import subprocess
from functools import lru_cache
import gi
@ -70,7 +69,6 @@ def has_graphic_adapter_description(match_text):
return False
@lru_cache(maxsize=None)
def get_gpus_info():
"""Return the information related to each GPU on the system"""
return {card: drivers.get_gpu_info(card) for card in drivers.get_gpus()}