Reference my fork in Mastodon.create_app()

This commit is contained in:
Danielle McLean 2021-08-21 13:41:12 +10:00
parent ce46f6778f
commit 7e0e25cfaa
Signed by: 00dani
GPG key ID: 9DDE1EDE01E3A605

View file

@ -48,10 +48,10 @@ if not cfg['site'].startswith("https://") and not cfg['site'].startswith("http:/
if "client" not in cfg: if "client" not in cfg:
print("No application info -- registering application with {}".format(cfg['site'])) print("No application info -- registering application with {}".format(cfg['site']))
client_id, client_secret = Mastodon.create_app( client_id, client_secret = Mastodon.create_app(
"mstdn-ebooks", "00dani/mstdn-ebooks",
api_base_url=cfg['site'], api_base_url=cfg['site'],
scopes=scopes, scopes=scopes,
website="https://github.com/Lynnesbian/mstdn-ebooks") website="https://git.00dani.me/00dani/mstdn-ebooks")
cfg['client'] = { cfg['client'] = {
"id": client_id, "id": client_id,