Commit 594f11c5 authored by David Vo's avatar David Vo Committed by Tulir Asokan

Add missing thumbnail info mimetype

parent e0df05c3
Pipeline #870 passed with stage
in 19 seconds
......@@ -90,6 +90,7 @@ class TexBot(Plugin):
data = output.getvalue()
info.thumbnail_url = await self.client.upload_media(data, "image/png", "tex.thumb.png")
info.thumbnail_info.mimetype = "image/png"
info.thumbnail_info.size = len(data)
plot.close(fig)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment