equal
deleted
inserted
replaced
43 def open_win_svg(svgexepath, svgfile): |
43 def open_win_svg(svgexepath, svgfile): |
44 """ Open Inkscape on Windows platform """ |
44 """ Open Inkscape on Windows platform """ |
45 popenargs = [svgexepath] |
45 popenargs = [svgexepath] |
46 if svgfile is not None: |
46 if svgfile is not None: |
47 popenargs.append(svgfile) |
47 popenargs.append(svgfile) |
48 subprocess.Popen(popenargs).pid |
48 subprocess.Popen(popenargs) |
49 |
49 |
50 |
50 |
51 def open_lin_svg(svgexepath, svgfile): |
51 def open_lin_svg(svgexepath, svgfile): |
52 """ Open Inkscape on Linux platform """ |
52 """ Open Inkscape on Linux platform """ |
53 if os.path.isfile("/usr/bin/inkscape"): |
53 if os.path.isfile("/usr/bin/inkscape"): |