From d1d5d20472f4ab3fb3a64edfc49867b6f92e8397 Mon Sep 17 00:00:00 2001 From: Didas72 Date: Wed, 19 Nov 2025 09:40:42 +0000 Subject: [PATCH] Patched extra lines in root and ignored library --- mx_convert/mx_convert.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mx_convert/mx_convert.py b/mx_convert/mx_convert.py index 59f9afd..4a2906e 100644 --- a/mx_convert/mx_convert.py +++ b/mx_convert/mx_convert.py @@ -102,7 +102,7 @@ def root_cmakelists(path: Path): # Read previously generated contents with open(lists_path, "r") as _if: - lines = _if.readlines() + lines += [line.rstrip("\n") for line in _if] # Save final result with open(lists_path, "w") as of: diff --git a/pyproject.toml b/pyproject.toml index 40c943e..1f40f93 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "mx_convert" -version = "0.2.0" +version = "0.2.1" description = "A Cube MX projct conversion helper" authors = [{ name = "Didas72" }] dependencies = []