Revert this, ignore type checking
This commit is contained in:
parent
e4fc32c170
commit
8bbdca60f7
1 changed files with 1 additions and 1 deletions
2
scl.py
2
scl.py
|
@ -247,7 +247,7 @@ def generate_post_map_image(
|
|||
with io.BytesIO() as map_image_file:
|
||||
map_image.save(map_image_file, format="WebP", method=6)
|
||||
map_media_post = mastodon_client.media_post(
|
||||
map_image_file,
|
||||
map_image_file.getvalue(), # type: ignore
|
||||
mime_type="image/webp",
|
||||
description=alt_text,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue