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
1 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@ cfg = json.load(open('config.json', 'r'))
client = mastodon.Mastodon(
client_id=cfg['client']['id'],
client_secret=cfg['client']['secret'],
access_token="usercred.secret",
access_token=cfg['secret'],
api_base_url=cfg['site'])
def extract_toot(toot):