From 3274a18512fb67a865ca6e47cbc4e69d9e00ca20 Mon Sep 17 00:00:00 2001 From: Alec Delaney <89490472+tekktrik@users.noreply.github.com> Date: Thu, 22 Feb 2024 12:21:17 -0500 Subject: [PATCH] Correctly rebuild version and extension combo --- circfirm/backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circfirm/backend.py b/circfirm/backend.py index 63293e7..0d4871f 100644 --- a/circfirm/backend.py +++ b/circfirm/backend.py @@ -128,7 +128,7 @@ def get_firmware_info(uf2_filename: str) -> Tuple[str, str]: """Get firmware info.""" filename_parts = uf2_filename.split("-") language = filename_parts[3] - version_extension = "".join(filename_parts[4:]) + version_extension = "-".join(filename_parts[4:]) version = version_extension[:-4] return version, language