From 73c8213f1bbb33f4f9abdc9339ebd9cb34ce071f 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 fe348126..75b4dbf4 100755 --- a/proton +++ b/proton @@ -1487,7 +1487,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