mirror of
https://github.com/gnh1201/caterpillar.git
synced 2025-02-06 06:55:00 +00:00
Update fediverse.py
This commit is contained in:
parent
f81d2f4649
commit
a0775bd15a
|
@ -138,7 +138,7 @@ class Fediverse(Extension):
|
|||
buffered = io.BytesIO()
|
||||
img_png.save(buffered, format="PNG")
|
||||
encoded_image = base64.b64encode(buffered.getvalue()).decode(
|
||||
client_encoding
|
||||
"ascii"
|
||||
)
|
||||
return encoded_image
|
||||
except:
|
||||
|
|
Loading…
Reference in New Issue
Block a user