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:
parent
07670c4a74
commit
4b6e563f76
1 changed files with 2 additions and 2 deletions
|
@ -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']
|
||||
|
|
Loading…
Reference in a new issue