From 4e361dd78da29f5772b7570b01b7159b6ba48a42 Mon Sep 17 00:00:00 2001 From: Alhaziel Date: Sat, 18 May 2019 17:43:16 +0200 Subject: [PATCH] Bullet Point working for check_video_link --- core/servertools.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/core/servertools.py b/core/servertools.py index 10e0886a..40dbdbf3 100644 --- a/core/servertools.py +++ b/core/servertools.py @@ -727,13 +727,13 @@ def check_video_link(url, server, timeout=3): :return: str(2) '??':No se ha podido comprobar. 'Ok':Parece que el link funciona. 'NO':Parece que no funciona. """ - # NK = "[COLOR 0xFFF9B613][B]" + u"\u25cf" + "[/B][/COLOR]" - # OK = "[COLOR 0xFF00C289][B]" + u"\u25cf" + "[/B][/COLOR]" - # KO = "[COLOR 0xFFC20000][B]" + u"\u25cf" + "[/B][/COLOR]" + NK = "[COLOR 0xFFF9B613][B]" + u"\u25cf".encode('utf-8') + "[/B][/COLOR]" + OK = "[COLOR 0xFF00C289][B]" + u"\u25cf".encode('utf-8') + "[/B][/COLOR]" + KO = "[COLOR 0xFFC20000][B]" + u"\u25cf".encode('utf-8') + "[/B][/COLOR]" - NK = "[COLOR 0xFFF9B613][B]O[/B][/COLOR]" - OK = "[COLOR 0xFF00C289][B]O[/B][/COLOR]" - KO = "[COLOR 0xFFC20000][B]O[/B][/COLOR]" + # NK = "[COLOR 0xFFF9B613][B]O[/B][/COLOR]" + # OK = "[COLOR 0xFF00C289][B]O[/B][/COLOR]" + # KO = "[COLOR 0xFFC20000][B]O[/B][/COLOR]" try: server_module = __import__('servers.%s' % server, None, None, ["servers.%s" % server])