From caf3c31472871f9edaecee9a0919b5940bbf593b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 21 Feb 2020 17:09:09 +0000 Subject: [PATCH] Tidying --- content.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content.py b/content.py index e069ebf1..7795250e 100644 --- a/content.py +++ b/content.py @@ -65,7 +65,9 @@ def replaceEmojiFromTags(content: str,tag: [],messageType: str) -> str: if iconName.startswith('1'): if '.' in iconName: iconName=iconName.split('.')[0] - content=content.replace(tagItem['name'],chr(int("0x"+iconName,16))) + content= \ + content.replace(tagItem['name'], \ + chr(int("0x"+iconName,16))) htmlClass='emoji' if messageType=='post header': htmlClass='emojiheader'