From abe6588dfbdcb6cd8ad3ad08c7ec619e4ec79756 Mon Sep 17 00:00:00 2001 From: Alhaziel Date: Thu, 6 Feb 2020 17:50:17 +0100 Subject: [PATCH] Fix Bullet in support Typo --- core/support.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/support.py b/core/support.py index fb901294..71f137cb 100755 --- a/core/support.py +++ b/core/support.py @@ -759,7 +759,7 @@ def typo(string, typography=''): if '{}' in string: string = '{' + re.sub(r'\s\{\}','',string) + '}' if 'submenu' in string: - string = u"\u2022\u2022 ".encode('utf-8') + re.sub(r'\ssubmenu','',string) + string = "•• " + re.sub(r'\ssubmenu','',string) if 'color' in string: color = scrapertools.find_single_match(string, 'color ([a-z]+)') if color == 'kod' or '': color = kod_color @@ -773,7 +773,7 @@ def typo(string, typography=''): if '--' in string: string = ' - ' + re.sub(r'\s--','',string) if 'bullet' in string: - string = '[B]' + u"\u2022".encode('utf-8') + '[/B] ' + re.sub(r'\sbullet','',string) + string = '[B]•[/B] ' + re.sub(r'\sbullet','',string) return string