mirror of
https://github.com/lutris/lutris
synced 2024-09-04 23:13:35 +00:00
fix pylint complaints
This commit is contained in:
parent
bf6252ff38
commit
44ca005f18
|
@ -74,7 +74,7 @@ def get_vk_icd_choices():
|
|||
for loader in glob.glob(path):
|
||||
icd_key = os.path.basename(loader).split(".")[0]
|
||||
icd_files[icd_key].append(os.path.join(path, loader))
|
||||
if not "amd_icd" in loader:
|
||||
if "amd_icd" not in loader:
|
||||
loaders.append(loader)
|
||||
else:
|
||||
amdvlk.append(loader)
|
||||
|
@ -84,13 +84,14 @@ def get_vk_icd_choices():
|
|||
choices = [(_("Auto"), loader_files)]
|
||||
|
||||
for icd_key in icd_files:
|
||||
if not "amd_icd" in icd_key:
|
||||
if "amd_icd" not in icd_key:
|
||||
files = ":".join(icd_files[icd_key])
|
||||
choices.append((icd_key.capitalize().replace("_icd", " ICD"), files))
|
||||
|
||||
choices.append(("AMDVLK/AMDGPU-PRO", amdvlk_files))
|
||||
return choices
|
||||
|
||||
|
||||
system_options = [ # pylint: disable=invalid-name
|
||||
{
|
||||
"option": "game_path",
|
||||
|
|
Loading…
Reference in a new issue