txlyre hai 4 meses
pai
achega
907daba35b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      commands.py

+ 1 - 1
commands.py

@@ -638,7 +638,7 @@ async def sylvy_handler(bot, event, command):
 
             svg2png(bytestring=plot, write_to=buffer)
 
-            plots.append(buffer.getvalue())
+            plots.append(buffer)
 
         await bot.send_file(event.peer_id, file=plots, reply_to=event, force_document=False)