Skip to content

Commit 660fcb2

Browse files
authored
Merge pull request #15 from cryptlex/muneeb/fix-hasfloatingLicense
fix: add LF_FAIL switch case
2 parents 6f28501 + 6fe3c03 commit 660fcb2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

cryptlex/lexfloatclient/lexfloatclient.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,8 @@ def HasFloatingLicense():
306306
return True
307307
elif LexFloatStatusCodes.LF_E_NO_LICENSE == status:
308308
return False
309+
elif LexFloatStatusCodes.LF_FAIL == status:
310+
return False
309311
else:
310312
raise LexFloatClientException(status)
311313

0 commit comments

Comments
 (0)