From 634e0c5129a4d07f563cc3dc179b1f4d160a216b Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Sun, 29 Sep 2024 21:29:46 +0200 Subject: [PATCH] Update espidf.py --- builder/frameworks/espidf.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/builder/frameworks/espidf.py b/builder/frameworks/espidf.py index 885ac9b88..2a7d677ea 100644 --- a/builder/frameworks/espidf.py +++ b/builder/frameworks/espidf.py @@ -118,11 +118,11 @@ ORIG_BUILD_FLAGS = env.subst("$BUILD_FLAGS") ORIG_BUILD_UNFLAGS = env.subst("$BUILD_UNFLAGS") ORIG_PROJECT_SRC_DIR = PROJECT_SRC_DIR - env("$BUILD_FLAGS").clear() - env("$BUILD_UNFLAGS").clear() + ["$BUILD_FLAGS"].clear() + ["$BUILD_UNFLAGS"].clear() PROJECT_SRC_DIR = PROJECT_SRC_DIR.replace("tasmota", "dummy") - env("$PROJECT_SRC_DIR").clear() - env("$PROJECT_SRC_DIR").append(PROJECT_SRC_DIR) + ["$PROJECT_SRC_DIR"].clear() + ["$PROJECT_SRC_DIR"].append(PROJECT_SRC_DIR) except: pass print("Source Dir", PROJECT_SRC_DIR)