Skip to content

Commit

Permalink
Merge pull request #134 from MikroElektronika/fix/build-message
Browse files Browse the repository at this point in the history
Update build_message.py
  • Loading branch information
StrahinjaJacimovic authored Oct 22, 2024
2 parents 1471bf7 + 954e40f commit 2dcc382
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def extract_info_from_md(file_path):
if hardware_section_match:
mcu_package = hardware_section_match.group(1).strip()
mcu_models = hardware_section_match.group(2).strip().split("\n")
mcu_models = [model.strip().replace('+ ', '') for model in mcu_models] # Clean up the model entries
mcu_models = [model.strip().replace('+ ', '').replace('- ', '') for model in mcu_models] # Clean up the model entries
else:
mcu_package = "No hardware packages found."
mcu_models = []
Expand Down

0 comments on commit 2dcc382

Please sign in to comment.