equal
deleted
inserted
replaced
29 |
29 |
30 def get_inkscape_path(): |
30 def get_inkscape_path(): |
31 """ Return the Inkscape path """ |
31 """ Return the Inkscape path """ |
32 import _winreg |
32 import _winreg |
33 svgexepath = _winreg.QueryValue(_winreg.HKEY_LOCAL_MACHINE, |
33 svgexepath = _winreg.QueryValue(_winreg.HKEY_LOCAL_MACHINE, |
34 'Software\\Classes\\svgfile\\shell\\Inkscape\\command') |
34 'Software\\Classes\\svgfile\\shell\\Inkscape\\command') |
35 svgexepath = svgexepath.replace('"%1"', '') |
35 svgexepath = svgexepath.replace('"%1"', '') |
36 return svgexepath.replace('"', '') |
36 return svgexepath.replace('"', '') |
37 |
37 |
38 |
38 |
39 def open_win_svg(svgexepath, svgfile): |
39 def open_win_svg(svgexepath, svgfile): |