diff --git a/login.py b/web.py similarity index 88% rename from login.py rename to web.py index 13f81e2..735d91e 100644 --- a/login.py +++ b/web.py @@ -22,4 +22,8 @@ client_id, client_secret = Mastodon.create_app(cfg['name'], scopes="write:statuses", website="https://git.lynnesbian.space/lynnesbian/curious-greg") +client = Mastodon(client_id = client_id, + client_secret = client_secret, + api_base_url=instance_url) +client.