Skip to content

Commit

Permalink
Merge pull request #15 from cryptlex/muneeb/fix-hasfloatingLicense
Browse files Browse the repository at this point in the history
fix: add LF_FAIL switch case
  • Loading branch information
ahmad-kemsan authored Jul 25, 2024
2 parents 6f28501 + 6fe3c03 commit 660fcb2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cryptlex/lexfloatclient/lexfloatclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,8 @@ def HasFloatingLicense():
return True
elif LexFloatStatusCodes.LF_E_NO_LICENSE == status:
return False
elif LexFloatStatusCodes.LF_FAIL == status:
return False
else:
raise LexFloatClientException(status)

Expand Down

0 comments on commit 660fcb2

Please sign in to comment.