From 798b5a484b56714eea71c50a3c368eaf29817e87 Mon Sep 17 00:00:00 2001 From: Lynne Date: Thu, 19 Sep 2019 16:17:26 +1000 Subject: [PATCH] i forgot to strip mentions from the code when fake_mentions is set to never because i'm have smol bun brain please give headpat --- app/functions.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/functions.py b/app/functions.py index 7000cb8..65b9d04 100644 --- a/app/functions.py +++ b/app/functions.py @@ -95,14 +95,14 @@ def make_post(args): print("No posts to learn from.") return - model = nlt_fixed(posts) - tries = 0 - post = None - if bot['fake_mentions'] == 'never': # remove all mentions from the training data before the markov model sees it posts = re.sub(r"(?