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