From 36e673fad90c0f6a79ffb637c2d0c9c8b8026684 Mon Sep 17 00:00:00 2001 From: Jess 3Jane Date: Tue, 20 Feb 2018 11:51:25 -0500 Subject: [PATCH] lol i can not maintain a project --- gen.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gen.py b/gen.py index 90e7e9d..8ed533a 100644 --- a/gen.py +++ b/gen.py @@ -1,5 +1,6 @@ import markovify import json +import time from mastodon import Mastodon api_base_url = "https://botsin.space" @@ -16,7 +17,7 @@ print("Running...") while True: print("tooting") # This is not the best long term fix tbh - sentance = None + sentence = None while sentence is None: sentence = model.make_sentence() client.toot(sentence.replace(chr(31), "\n"))