From 8125518e5ad37b4ffaf065f72a82b2c069887573 Mon Sep 17 00:00:00 2001 From: greko17 Date: Mon, 7 Oct 2019 00:37:56 +0200 Subject: [PATCH] fix: specials/news.py cambio colore --- specials/news.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specials/news.py b/specials/news.py index 19264a67..62bf6f93 100644 --- a/specials/news.py +++ b/specials/news.py @@ -414,7 +414,7 @@ def get_title(item): ## title = re.compile("\[/*I\]", re.DOTALL).sub("", title) title = '[B]'+title+'[/B]' - + if item.contentLanguage == '': pass elif type(item.contentLanguage) == list and len(item.contentLanguage) ==1: @@ -423,7 +423,7 @@ def get_title(item): title += support.typo(item.contentLanguage, '_ [] color kod') elif type(item.contentLanguage) == list: title += item.contentLanguage - + if item.quality: title += support.typo(item.quality, '_ [] color kod') return title @@ -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 yellow]'+canale+'[/COLOR]' + canale = '[COLOR blue]'+canale+'[/COLOR]' # per differenziarlo dal colore delle altre voci i.title = get_title(i) + " [" + canale + "]" # i.text_color = color3