Skip to content

Commit

Permalink
Fix to account for major versions lack of fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rclapp authored and MariusWirtz committed Nov 29, 2023
1 parent ca66d43 commit 5168975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TM1py/Utils/Utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def abbreviate_mdx(mdx: str, size=100) -> str:


def integerize_version(version: str, precision: int = 4) -> int:
return int(version[:precision].replace(".", ""))
return int(version[:precision].replace(".", "").ljust(precision, "0"))


def verify_version(required_version: str, version: str) -> bool:
Expand Down

0 comments on commit 5168975

Please sign in to comment.