mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-06 21:21:15 -07:00
Update cloudinary==1.40.0
This commit is contained in:
parent
5e90f3bb31
commit
96c20ad893
3 changed files with 7 additions and 5 deletions
|
@ -38,7 +38,7 @@ CL_BLANK = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAA
|
||||||
URI_SCHEME = "cloudinary"
|
URI_SCHEME = "cloudinary"
|
||||||
API_VERSION = "v1_1"
|
API_VERSION = "v1_1"
|
||||||
|
|
||||||
VERSION = "1.39.1"
|
VERSION = "1.40.0"
|
||||||
|
|
||||||
_USER_PLATFORM_DETAILS = "; ".join((platform(), "Python {}".format(python_version())))
|
_USER_PLATFORM_DETAILS = "; ".join((platform(), "Python {}".format(python_version())))
|
||||||
|
|
||||||
|
|
|
@ -565,7 +565,9 @@ def delete_folder(path, **options):
|
||||||
|
|
||||||
:rtype: Response
|
:rtype: Response
|
||||||
"""
|
"""
|
||||||
return call_api("delete", ["folders", path], {}, **options)
|
|
||||||
|
params = only(options, "skip_backup")
|
||||||
|
return call_api("delete", ["folders", path], params, **options)
|
||||||
|
|
||||||
|
|
||||||
def restore(public_ids, **options):
|
def restore(public_ids, **options):
|
||||||
|
|
|
@ -422,7 +422,7 @@ var slice = [].slice,
|
||||||
* @returns {boolean} true if item is empty
|
* @returns {boolean} true if item is empty
|
||||||
*/
|
*/
|
||||||
isEmpty = function(item) {
|
isEmpty = function(item) {
|
||||||
return (item == null) || (jQuery.isArray(item) || Util.isString(item)) && item.length === 0 || (jQuery.isPlainObject(item) && jQuery.isEmptyObject(item));
|
return (item == null) || (Array.isArray(item) || Util.isString(item)) && item.length === 0 || (jQuery.isPlainObject(item) && jQuery.isEmptyObject(item));
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -565,7 +565,7 @@ var slice = [].slice,
|
||||||
setData: setData,
|
setData: setData,
|
||||||
width: width,
|
width: width,
|
||||||
isString: isString,
|
isString: isString,
|
||||||
isArray: jQuery.isArray,
|
isArray: Array.isArray,
|
||||||
isEmpty: isEmpty,
|
isEmpty: isEmpty,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -4728,7 +4728,7 @@ var slice = [].slice,
|
||||||
return k + '=' + v;
|
return k + '=' + v;
|
||||||
}).join('|');
|
}).join('|');
|
||||||
} else if (Util.isArray(value)) {
|
} else if (Util.isArray(value)) {
|
||||||
if (value.length > 0 && jQuery.isArray(value[0])) {
|
if (value.length > 0 && Array.isArray(value[0])) {
|
||||||
upload_params[key] = jQuery.map(value, function(array_value) {
|
upload_params[key] = jQuery.map(value, function(array_value) {
|
||||||
return array_value.join(',');
|
return array_value.join(',');
|
||||||
}).join('|');
|
}).join('|');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue