Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
 to 18.2.0."
  • Loading branch information
Jess Portnoy authored Mar 16, 2022
1 parent 4fb6bdd commit 2bb831c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sources/python/KalturaClient/Client.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,8 @@ def generateSession(adminSecretForSigning, userId, type_, partnerId,
expiry=86400, privileges=''):
rand = random.randint(0, 0x10000)
expiry = int(time.time()) + expiry
fields = [partnerId, expiry, type_, rand, userId, privileges]
fields = [
partnerId, partnerId, expiry, type_, rand, userId, privileges]
fields = [
x if isinstance(x, six.binary_type)
else six.text_type(x).encode(KalturaClient.ENCODING)
Expand Down

0 comments on commit 2bb831c

Please sign in to comment.