Skip to content

Commit

Permalink
Limit version string split
Browse files Browse the repository at this point in the history
  • Loading branch information
HEnquist committed Jan 11, 2025
1 parent e80bfd1 commit 5380746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion camilladsp/versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ def library(self) -> Tuple[str, str, str]:
Tuple[List[str], List[str]] | None: A tuple containing the pyCamillaDSP version,
as (major, minor, patch).
"""
ver = VERSION.split(".")
ver = VERSION.split(".", 2)
return (ver[0], ver[1], ver[2])

0 comments on commit 5380746

Please sign in to comment.