proton: Suppress type checker errors about non-existing user_settings.
This commit is contained in:
parent
0f94a21b5e
commit
b6eda24974
1 changed files with 1 additions and 1 deletions
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 a new issue