From 0a66c1db5123899e57fb60fa93dc1f8f372be7a9 Mon Sep 17 00:00:00 2001 From: Lynne Date: Fri, 11 Jan 2019 22:16:04 +1000 Subject: [PATCH] added my @ to the error message --- create.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/create.py b/create.py index caa62a3..61218f5 100755 --- a/create.py +++ b/create.py @@ -12,9 +12,6 @@ def make_sentence(output): def test_sentence_input(self, sentence): return True #all sentences are valid <3 - # with open("corpus.txt", encoding="utf-8") as fp: - # model = nlt_fixed(fp.read()) - shutil.copyfile("toots.db", "toots-copy.db") db = sqlite3.connect("toots-copy.db") db.text_factory=str @@ -55,7 +52,7 @@ def make_toot_markov(query = None): else: toot = pin.recv() if toot == None: - toot = "Toot generation failed! Contact Lynne for assistance." + toot = "Toot generation failed! Contact Lynne (lynnesbian@fedi.lynnesbian.space) for assistance." return { "toot":toot, "media":None