From b463c314fe8f29c9117dd2916f5cfd4eac06446d Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Wed, 3 Jun 2020 19:54:49 +0200 Subject: [PATCH] Fix Community Channel --- specials/community.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/specials/community.py b/specials/community.py index 04394324..2970a325 100644 --- a/specials/community.py +++ b/specials/community.py @@ -111,12 +111,8 @@ def show_menu(item): - if 'channel_name' in json and not 'disable_search' in json: - if 'search' in json and 'url' in json['search']: - search_json = json['search'] - itemlist += get_search_menu(item, search_json, channel_name=json['channel_name']) - else: - itemlist += get_search_menu(item, json, channel_name=json['channel_name']) + if 'channel_name' in json and not 'disable_search' in json and 'search' not in json: + itemlist += get_search_menu(item, json, channel_name=json['channel_name']) support.log('PAGINATION:', disable_pagination) return itemlist