diff --git a/resources/lib/youtube_plugin/youtube/helper/utils.py b/resources/lib/youtube_plugin/youtube/helper/utils.py index 75fb800c9..bcf5b38ac 100644 --- a/resources/lib/youtube_plugin/youtube/helper/utils.py +++ b/resources/lib/youtube_plugin/youtube/helper/utils.py @@ -1343,8 +1343,12 @@ def filter_parse(item, .replace('%2C', ',') .replace('%7D', '}') ) + if input_1 is None: + input_1 = '' else: input_2 = float(input_2) + if input_1 is None: + input_1 = -1 _, negate, op_str = op_str.rpartition('!') op = op_map.get(op_str)