Reference my fork in Mastodon.create_app()
This commit is contained in:
parent
ce46f6778f
commit
7e0e25cfaa
1 changed files with 2 additions and 2 deletions
4
main.py
4
main.py
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue