We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1cc2905 + 0850470 commit 97afdc4Copy full SHA for 97afdc4
tubesync/sync/utils.py
@@ -206,11 +206,11 @@ def normalize_codec(codec_str):
206
def list_of_dictionaries(arg_list, arg_function=lambda x: x):
207
assert callable(arg_function)
208
if isinstance(arg_list, list):
209
- def _assert_and_call(arg_dict):
+ def _call_func_with_dict(arg_dict):
210
if isinstance(arg_dict, dict):
211
return arg_function(arg_dict)
212
return arg_dict
213
- return (True, list(map(_assert_and_call, arg_list)),)
+ return (True, list(map(_call_func_with_dict, arg_list)),)
214
return (False, arg_list,)
215
216
0 commit comments