Merge branch 'main' into edit-posts
This commit is contained in:
commit
0265891c92
1 changed files with 1 additions and 1 deletions
2
scl.py
2
scl.py
|
@ -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"]
|
||||||
|
|
Loading…
Reference in a new issue