diff --git a/parts/server.py b/parts/server.py index 5b09430..9efaac6 100644 --- a/parts/server.py +++ b/parts/server.py @@ -39,7 +39,7 @@ def requires_auth(f): def serveImage(img): img_io = BytesIO() - img.save(img_io, 'PNG') + img.convert("RGB").save(img_io, 'PNG') img_io.seek(0) return send_file(img_io, mimetype='image/png')