fixed imports

This commit is contained in:
Lynne Megido 2018-10-27 23:29:49 +10:00
parent 5f77734162
commit 62ccd3a529
Signed by: lynnesbian
GPG Key ID: FB7B970303ACE499

View File

@ -6,12 +6,12 @@
# You can obtain one at http://mozilla.org/MPL/2.0/.
import requests
from mastodon import Mastodon
import mastodon
import json
cfg = json.load(open('config.json', 'r'))
client = Mastodon(
client = mastodon.Mastodon(
client_id=cfg['client']['id'],
client_secret = cfg['client']['secret'],
access_token=cfg['secret'],