Skip to content

Commit e481660

Browse files
authored
remove the impossible error for subprocess
1 parent be3388b commit e481660

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
@@ -616,10 +616,7 @@ def firmware_metrics(target, source, env):
616616

617617
if result.returncode != 0:
618618
print(f"Warning: esp-idf-size exited with code {result.returncode}")
619-
620-
except ImportError:
621-
print("Error: esp-idf-size module not found.")
622-
print("Install with: pip install esp-idf-size")
619+
623620
except FileNotFoundError:
624621
print("Error: Python executable not found.")
625622
print("Check your Python installation.")

0 commit comments

Comments
 (0)