mirror of
https://github.com/lutris/lutris
synced 2024-09-15 22:09:55 +00:00
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:
parent
42e51f79fc
commit
263a1bd602
|
@ -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()}
|
||||
|
|
Loading…
Reference in a new issue