Merge branch 'main' into edit-posts

This commit is contained in:
Liam Steckler 2024-11-23 22:15:39 -08:00
commit 0265891c92

2
scl.py
View file

@ -238,7 +238,7 @@ def do_initial_post(
map_image.save(map_image_file, format="WebP", method=6) map_image.save(map_image_file, format="WebP", method=6)
map_media_post = mastodon_client.media_post( map_media_post = mastodon_client.media_post(
map_image_file.getvalue(), map_image_file.getvalue(),
mime_type="image/png", mime_type="image/webp",
description=get_alt_text_string(event), description=get_alt_text_string(event),
) )
map_media_post_id = map_media_post["id"] map_media_post_id = map_media_post["id"]