From 8238eb7a2e7c83bd6a565757f19c2905fda15084 Mon Sep 17 00:00:00 2001 From: Alhaziel Date: Mon, 7 Oct 2019 10:22:54 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20Novit=C3=A0=20per=20lingua=20auto?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- specials/news.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specials/news.py b/specials/news.py index c555014f..29b2717b 100644 --- a/specials/news.py +++ b/specials/news.py @@ -134,7 +134,7 @@ def get_channels_list(): channels_path = os.path.join(config.get_runtime_path(), "channels", '*.json') channel_language = config.get_setting("channel_language", default="all") if channel_language =="auto": - channel_language = auto_filter() + channel_language = auto_filter()[0] for infile in sorted(glob.glob(channels_path)): channel_id = os.path.basename(infile)[:-5] @@ -436,7 +436,7 @@ def no_group(list_result_canal): for i in list_result_canal: support.log("NO GROUP i -> ", i) canale = channels_id_name[i.channel] - canale = '[COLOR white]'+canale+'[/COLOR]' # per differenziarlo dal colore delle altre voci + canale = canale # per differenziarlo dal colore delle altre voci i.title = get_title(i) + " [" + canale + "]" # i.text_color = color3 @@ -596,7 +596,7 @@ def setting_channel(item): channels_path = os.path.join(config.get_runtime_path(), "channels", '*.json') channel_language = config.get_setting("channel_language", default="auto") if channel_language == 'auto': - channel_language = auto_filter() + channel_language = auto_filter()[0] list_controls = []