Skip to content

Commit

Permalink
Correctly rebuild version and extension combo
Browse files Browse the repository at this point in the history
  • Loading branch information
tekktrik authored Feb 22, 2024
1 parent 96f1028 commit 3274a18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion circfirm/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3274a18

Please sign in to comment.