fixed once and for all

This commit is contained in:
Lynne 2018-10-26 11:35:14 +10:00
parent 778b968189
commit 9e6930ffad
No known key found for this signature in database
GPG key ID: FB7B970303ACE499

View file

@ -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