Skip to content

Commit e471bb9

Browse files
committed
refactor: arg name
1 parent decfe79 commit e471bb9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cryptlex/lexfloatclient/lexfloatclient.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,8 @@ def RequestFloatingLicense():
282282
raise LexFloatClientException(status)
283283

284284
@staticmethod
285-
def SetPermissionFlag(flags):
286-
"""Sets the permission flags.
285+
def SetPermissionFlag(flag):
286+
"""Sets the permission flag.
287287
288288
This function must be called on every start of your program after SetHostProductId()
289289
function in case the application allows borrowing of licenses or system wide activation.
@@ -301,7 +301,7 @@ def SetPermissionFlag(flags):
301301
Raises:
302302
LexFloatClientException
303303
"""
304-
status = LexFloatClientNative.SetPermissionFlag(flags)
304+
status = LexFloatClientNative.SetPermissionFlag(flag)
305305
if LexFloatStatusCodes.LF_OK != status:
306306
raise LexFloatClientException(status)
307307

0 commit comments

Comments
 (0)