From 62ccd3a529845f35a262b673d6186db28b88bf54 Mon Sep 17 00:00:00 2001 From: Lynne Date: Sat, 27 Oct 2018 23:29:49 +1000 Subject: [PATCH] fixed imports --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 0660fbe..04e7091 100755 --- a/main.py +++ b/main.py @@ -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'],