equal
deleted
inserted
replaced
53 def open_svg(svgfile): |
53 def open_svg(svgfile): |
54 """ Generic function to open SVG file """ |
54 """ Generic function to open SVG file """ |
55 if wx.Platform == '__WXMSW__': |
55 if wx.Platform == '__WXMSW__': |
56 try: |
56 try: |
57 open_win_svg(get_inkscape_path(), svgfile) |
57 open_win_svg(get_inkscape_path(), svgfile) |
58 except: |
58 except Exception: |
59 wx.MessageBox("Inkscape is not found or installed !") |
59 wx.MessageBox("Inkscape is not found or installed !") |
60 return None |
60 return None |
61 else: |
61 else: |
62 svgexepath = os.path.join("/usr/bin", "inkscape") |
62 svgexepath = os.path.join("/usr/bin", "inkscape") |
63 if(os.path.isfile(svgexepath)): |
63 if(os.path.isfile(svgexepath)): |