proton: Access env variables directly when we know they are set.

This commit is contained in:
Arkadiusz Hiler 2024-07-26 13:36:19 +03:00
parent 3d716a9db2
commit 7c3accab4e

2
proton
View file

@ -1473,7 +1473,7 @@ class Session:
self.env["WINEDEBUG"] = "-all" self.env["WINEDEBUG"] = "-all"
if "PROTON_REMOTE_DEBUG_CMD" in self.env: if "PROTON_REMOTE_DEBUG_CMD" in self.env:
self.remote_debug_cmd = shlex.split(self.env.get("PROTON_REMOTE_DEBUG_CMD")) self.remote_debug_cmd = shlex.split(self.env["PROTON_REMOTE_DEBUG_CMD"])
else: else:
self.remote_debug_cmd = None self.remote_debug_cmd = None