fixed a very silly mistake
This commit is contained in:
parent
3f998c018e
commit
1d8f7b26f5
|
@ -38,9 +38,9 @@ def make_sentence(output):
|
||||||
|
|
||||||
# optionally remove mentions
|
# optionally remove mentions
|
||||||
if cfg['mention_handling'] == 1:
|
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:
|
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)
|
output.send(sentence)
|
||||||
|
|
||||||
|
|
Reference in New Issue