fix: 临时文件路径

This commit is contained in:
Zhang Muyu
2023-09-16 23:53:08 +08:00
parent 9ae4ec3f33
commit 9f2ca2d895

View File

@@ -181,7 +181,7 @@ with open(svg_file_path, 'wb') as f:
# save as png
cairosvg.svg2png(url=svg_file_path, write_to=png_file_path)
os.remove('rect.svg')
os.remove(svg_file_path)
# additional element
# open the image