added my @ to the error message

This commit is contained in:
Lynne 2019-01-11 22:16:04 +10:00
parent e58097615d
commit 0a66c1db51
No known key found for this signature in database
GPG key ID: FB7B970303ACE499

View file

@ -12,9 +12,6 @@ def make_sentence(output):
def test_sentence_input(self, sentence): def test_sentence_input(self, sentence):
return True #all sentences are valid <3 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") shutil.copyfile("toots.db", "toots-copy.db")
db = sqlite3.connect("toots-copy.db") db = sqlite3.connect("toots-copy.db")
db.text_factory=str db.text_factory=str
@ -55,7 +52,7 @@ def make_toot_markov(query = None):
else: else:
toot = pin.recv() toot = pin.recv()
if toot == None: if toot == None:
toot = "Toot generation failed! Contact Lynne for assistance." toot = "Toot generation failed! Contact Lynne (lynnesbian@fedi.lynnesbian.space) for assistance."
return { return {
"toot":toot, "toot":toot,
"media":None "media":None