Bump cloudinary from 1.29.0 to 1.30.0 (#1890)

* Bump cloudinary from 1.29.0 to 1.30.0

Bumps [cloudinary](https://github.com/cloudinary/pycloudinary) from 1.29.0 to 1.30.0.
- [Release notes](https://github.com/cloudinary/pycloudinary/releases)
- [Changelog](https://github.com/cloudinary/pycloudinary/blob/master/CHANGELOG.md)
- [Commits](https://github.com/cloudinary/pycloudinary/compare/1.29.0...1.30.0)

---
updated-dependencies:
- dependency-name: cloudinary
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update cloudinary==1.30.0

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>

[skip ci]
This commit is contained in:
dependabot[bot] 2022-11-14 11:26:24 -08:00 committed by GitHub
parent 7f132439be
commit 6b835226cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 61 additions and 27 deletions

View file

@ -30,7 +30,9 @@ def generate(url=None, acl=None, start_time=None, duration=None,
token_parts.append("st=%d" % start_time)
token_parts.append("exp=%d" % expiration)
if acl is not None:
token_parts.append("acl=%s" % _escape_to_lower(acl))
acl_list = acl if type(acl) is list else [acl]
acl_list = [_escape_to_lower(a) for a in acl_list]
token_parts.append("acl=%s" % "!".join(acl_list))
to_sign = list(token_parts)
if url is not None and acl is None:
to_sign.append("url=%s" % _escape_to_lower(url))