From 778b968189471d6cc726c0c1fbd5f49ccb736ac5 Mon Sep 17 00:00:00 2001 From: Lynne Date: Fri, 26 Oct 2018 11:21:51 +1000 Subject: [PATCH] i'm such a dunce, fixed bot replies --- reply.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reply.py b/reply.py index a3f0f2b..b71da2d 100755 --- a/reply.py +++ b/reply.py @@ -10,9 +10,9 @@ from bs4 import BeautifulSoup cfg = json.load(open('config.json', 'r')) -api_base_url = "https://knzk.me" client = mastodon.Mastodon( - client_id="clientcred.secret", + client_id=cfg['client']['id'], + client_secret=cfg['client']['secret'], access_token="usercred.secret", api_base_url=cfg['site'])