now it will actually work without a useless stub file i forgot to remove .-.

This commit is contained in:
Jess 3Jane 2018-02-19 16:57:50 -05:00
parent 8efb4b8521
commit 8e7e3fb2c4

5
gen.py
View file

@ -2,10 +2,7 @@ import markovify
import json import json
from mastodon import Mastodon from mastodon import Mastodon
with open("settings.json") as fp: api_base_url = "https://botsin.space"
settings = json.load(fp)
api_base_url = settings.setdefault("api_base_url", "https://botsin.space")
client = Mastodon( client = Mastodon(
client_id="clientcred.secret", client_id="clientcred.secret",