From a326b718f2538df7f2dd77d8af6abd9dc90f1581 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Fri, 19 Mar 2021 16:09:38 +0200 Subject: [PATCH] Handle legacy $LOAD_CMD "init_cmds" --- platformio/debug/config/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platformio/debug/config/base.py b/platformio/debug/config/base.py index f1a6ed12..8a8e5247 100644 --- a/platformio/debug/config/base.py +++ b/platformio/debug/config/base.py @@ -99,8 +99,8 @@ class DebugConfigBase: # pylint: disable=too-many-instance-attributes @property def init_cmds(self): - return self.env_options.get( - "debug_init_cmds", self.tool_settings.get("init_cmds") + return self.cleanup_cmds( + self.env_options.get("debug_init_cmds", self.tool_settings.get("init_cmds")) ) @property