We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent decfe79 commit e471bb9Copy full SHA for e471bb9
1 file changed
cryptlex/lexfloatclient/lexfloatclient.py
@@ -282,8 +282,8 @@ def RequestFloatingLicense():
282
raise LexFloatClientException(status)
283
284
@staticmethod
285
- def SetPermissionFlag(flags):
286
- """Sets the permission flags.
+ def SetPermissionFlag(flag):
+ """Sets the permission flag.
287
288
This function must be called on every start of your program after SetHostProductId()
289
function in case the application allows borrowing of licenses or system wide activation.
@@ -301,7 +301,7 @@ def SetPermissionFlag(flags):
301
Raises:
302
LexFloatClientException
303
"""
304
- status = LexFloatClientNative.SetPermissionFlag(flags)
+ status = LexFloatClientNative.SetPermissionFlag(flag)
305
if LexFloatStatusCodes.LF_OK != status:
306
307
0 commit comments