Optimize generated gifs.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Mikaël Capelle
2024-12-15 11:30:23 +01:00
parent 8651884ca6
commit 2c25b33bcc
5 changed files with 35 additions and 6 deletions

View File

@@ -14,3 +14,4 @@ class FileHandlerAPI(FileHandler):
with open(self.folder.joinpath(filename), "wb") as fp:
fp.write(content)
dump_api_message("file", {"filename": filename, "size": len(content)})
return self.folder.joinpath(filename)