From 7f9d46eac344907e31fe19ca248d9014a00aeb0a Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Wed, 3 Jun 2020 20:41:57 -0700 Subject: [PATCH] Fix Cloudinary upload for Python 2 --- plexpy/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plexpy/helpers.py b/plexpy/helpers.py index c59360cf..2da7dfd1 100644 --- a/plexpy/helpers.py +++ b/plexpy/helpers.py @@ -737,7 +737,7 @@ def upload_to_cloudinary(img_data, img_title='', rating_key='', fallback=''): ) try: - response = upload(img_data, + response = upload((img_title, img_data), public_id='{}_{}'.format(fallback, rating_key), tags=['tautulli', fallback, str(rating_key)], context={'title': img_title, 'rating_key': str(rating_key), 'fallback': fallback})