From 7d82e083243afae142a035c3e728e2a499f0e2c7 Mon Sep 17 00:00:00 2001 From: Valerii Koval Date: Fri, 27 May 2022 19:48:26 +0300 Subject: [PATCH] Tidy up platform script --- platform.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/platform.py b/platform.py index bd68da0..35b16fa 100644 --- a/platform.py +++ b/platform.py @@ -12,7 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -import copy import platform from platformio.managers.platform import PlatformBase @@ -102,7 +101,7 @@ class RaspberrypiPlatform(PlatformBase): def configure_debug_session(self, debug_config): adapter_speed = debug_config.speed or "5000" - + server_options = debug_config.server or {} server_arguments = server_options.get("arguments", []) if "interface/cmsis-dap.cfg" in server_arguments: