fix: 临时文件路径
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user