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 40b964bd30
commit 73c8213f1b

2
proton
View File

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