1
0
Fork 0
mirror of https://github.com/Lynnesbian/FediBooks/ synced 2024-12-27 23:08:58 +00:00

fixed yet another silly issue

This commit is contained in:
Lynne Megido 2020-01-20 14:38:55 +10:00
parent 07670c4a74
commit 4b6e563f76
Signed by: lynnesbian
GPG key ID: F0A184B5213D9F90

View file

@ -127,6 +127,8 @@ def make_post(args):
acct = args[3]
handle = args[0]
bot, post = generate_output(handle)
client = Mastodon(
client_id = bot['client_id'],
client_secret = bot['client_secret'],
@ -134,8 +136,6 @@ def make_post(args):
api_base_url = "https://{}".format(handle.split("@")[2])
)
bot, post = generate_output(handle)
# print(post)
visibility = bot['post_privacy'] if len(args) == 1 else args[2]
visibilities = ['public', 'unlisted', 'private']