From 9e6930ffad51ef4029eb09ae8508df103663d78c Mon Sep 17 00:00:00 2001 From: Lynne Date: Fri, 26 Oct 2018 11:35:14 +1000 Subject: [PATCH] fixed once and for all --- reply.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/reply.py b/reply.py index b71da2d..aa48aef 100755 --- a/reply.py +++ b/reply.py @@ -11,10 +11,10 @@ from bs4 import BeautifulSoup cfg = json.load(open('config.json', 'r')) client = mastodon.Mastodon( - client_id=cfg['client']['id'], - client_secret=cfg['client']['secret'], - access_token="usercred.secret", - api_base_url=cfg['site']) + client_id=cfg['client']['id'], + client_secret=cfg['client']['secret'], + access_token=cfg['secret'], + api_base_url=cfg['site']) def extract_toot(toot): #copied from main.py, see there for comments