From 1d8f7b26f50443d3820d1cb1fd1e3098a95a321b Mon Sep 17 00:00:00 2001 From: Lynne Date: Mon, 29 Apr 2019 14:38:44 +1000 Subject: [PATCH] fixed a very silly mistake --- functions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions.py b/functions.py index f99f152..50029b9 100755 --- a/functions.py +++ b/functions.py @@ -38,9 +38,9 @@ def make_sentence(output): # optionally remove mentions if cfg['mention_handling'] == 1: - sentence = re.sub(r"^\S*@\u200B\S*\s?", "") + sentence = re.sub(r"^\S*@\u200B\S*\s?", "", sentence) elif cfg['mention_handling'] == 0: - sentence = re.sub(r"\S*@\u200B\S*\s?", "") + sentence = re.sub(r"\S*@\u200B\S*\s?", "", sentence) output.send(sentence)