Skip to content

Commit

Permalink
Fix CryptoBackend property version_nums
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Kanakarakis <[email protected]>
  • Loading branch information
c00kiemon5ter committed Jun 9, 2023
1 parent 596803a commit 1cd9ced
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/saml2/sigver.py
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ def version(self):
@property
def version_nums(self):
try:
vns = tuple(int(t) for t in self.version)
vns = tuple(int(t) for t in self.version.split("."))
except ValueError:
vns = (0, 0, 0)
return vns
Expand Down

0 comments on commit 1cd9ced

Please sign in to comment.