From 7c3accab4e89c1a2f6e21935333ddaf852113b57 Mon Sep 17 00:00:00 2001 From: Arkadiusz Hiler Date: Fri, 26 Jul 2024 13:36:19 +0300 Subject: [PATCH] proton: Access env variables directly when we know they are set. --- proton | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proton b/proton index b270d788..f42458de 100755 --- a/proton +++ b/proton @@ -1473,7 +1473,7 @@ class Session: self.env["WINEDEBUG"] = "-all" 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: self.remote_debug_cmd = None