Update cloudinary-1.26.0

This commit is contained in:
JonnyWong16 2021-10-14 21:18:46 -07:00
parent ebffd124f6
commit 4b28040d59
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
17 changed files with 1169 additions and 307 deletions

View file

@ -20,6 +20,9 @@ def generate(url=None, acl=None, start_time=None, duration=None,
else:
raise Exception("Must provide either expiration or duration")
if url is None and acl is None:
raise Exception("Must provide either acl or url")
token_parts = []
if ip is not None:
token_parts.append("ip=" + ip)