mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-27 07:05:46 +03:00
proton: Suppress type checker errors about non-existing user_settings.
This commit is contained in:
parent
0f94a21b5e
commit
b6eda24974
2
proton
2
proton
@ -1324,7 +1324,7 @@ class Session:
|
||||
used_user_settings = {}
|
||||
if file_exists(g_proton.user_settings_file, follow_symlinks=True):
|
||||
try:
|
||||
import user_settings
|
||||
import user_settings # pyright: ignore [reportMissingImports]
|
||||
for key, value in user_settings.user_settings.items():
|
||||
if key not in self.env:
|
||||
self.env[key] = value
|
||||
|
Loading…
Reference in New Issue
Block a user