Skip to content

Commit 3d6f616

Browse files
authored
fix import error exception
1 parent 36cb4b6 commit 3d6f616

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

builder/main.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -407,10 +407,7 @@ def firmware_metrics(target, source, env):
407407

408408
if result.returncode != 0:
409409
print(f"Warning: esp-idf-size exited with code {result.returncode}")
410-
411-
except ImportError:
412-
print("Error: esp-idf-size module not found.")
413-
print("Install with: pip install esp-idf-size")
410+
414411
except FileNotFoundError:
415412
print("Error: Python executable not found.")
416413
print("Check your Python installation.")

0 commit comments

Comments
 (0)