Skip to content

Commit

Permalink
Merge pull request #777 from kaltura/revert-775-partnerId-specified-t…
Browse files Browse the repository at this point in the history
  • Loading branch information
Jess Portnoy authored Mar 16, 2022
2 parents 4fb6bdd + 2bb831c commit 6204174
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 6204174

Please sign in to comment.