1 parent 1e1f04a commit 3af0866Copy full SHA for 3af0866
1 file changed
python/examples/export_svg.py
@@ -42,6 +42,8 @@ def save_svg(bv, function):
42
path, 'binaryninja-{filename}-{function}.html'.format(filename=origname, function=address))
43
outputfile = get_save_filename_input(
44
'File name for export_svg', 'HTML files (*.html)', filename)
45
+ if sys.platfirm == "win32":
46
+ outputfile = outputfile.replace('/', '\\')
47
if outputfile is None:
48
return
49
content = render_svg(function, origname)
0 commit comments