Fix do_initial_post
This commit is contained in:
parent
78f9a2665e
commit
cf60a7f924
1 changed files with 6 additions and 7 deletions
13
scl.py
13
scl.py
|
@ -261,13 +261,12 @@ Cause: {}
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
post_result = {"id": "0123"}
|
post_result = mastodon_client.status_post(
|
||||||
# post_result = mastodon_client.status_post(
|
status=post_text,
|
||||||
# status=post_text,
|
media_ids=map_media_post,
|
||||||
# media_ids=map_media_post,
|
visibility="public",
|
||||||
# visibility="public",
|
language="en",
|
||||||
# language="en",
|
)
|
||||||
# )
|
|
||||||
post_id = post_result["id"]
|
post_id = post_result["id"]
|
||||||
|
|
||||||
return {"post_id": post_id, "map_media_post_id": map_media_post_id}
|
return {"post_id": post_id, "map_media_post_id": map_media_post_id}
|
||||||
|
|
Loading…
Reference in a new issue