From cf60a7f92472f58f5807a37efc14845fc8161793 Mon Sep 17 00:00:00 2001 From: Liam Steckler Date: Sat, 23 Nov 2024 17:12:52 -0800 Subject: [PATCH] Fix do_initial_post --- scl.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/scl.py b/scl.py index abe74a1..4f1a4db 100644 --- a/scl.py +++ b/scl.py @@ -261,13 +261,12 @@ Cause: {} ) ) - post_result = {"id": "0123"} - # post_result = mastodon_client.status_post( - # status=post_text, - # media_ids=map_media_post, - # visibility="public", - # language="en", - # ) + post_result = mastodon_client.status_post( + status=post_text, + media_ids=map_media_post, + visibility="public", + language="en", + ) post_id = post_result["id"] return {"post_id": post_id, "map_media_post_id": map_media_post_id}