diff --git a/scl.py b/scl.py index a33b322..e11a3fe 100644 --- a/scl.py +++ b/scl.py @@ -238,7 +238,7 @@ def do_initial_post( map_image.save(map_image_file, format="WebP", method=6) map_media_post = mastodon_client.media_post( map_image_file.getvalue(), - mime_type="image/png", + mime_type="image/webp", description=get_alt_text_string(event), ) map_media_post_id = map_media_post["id"]