proton: Suppress type checker errors about non-existing user_settings.

This commit is contained in:
Arkadiusz Hiler 2024-07-26 13:53:49 +03:00
parent 730acf592b
commit 9f209e9091

2
proton
View File

@ -1312,7 +1312,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