docutil/docsvg.py
changeset 1740 b789b695b5c6
parent 1739 ec153828ded2
child 1768 691083b5682a
equal deleted inserted replaced
1739:ec153828ded2 1740:b789b695b5c6
    57             open_win_svg(get_inkscape_path(), svgfile)
    57             open_win_svg(get_inkscape_path(), svgfile)
    58         except:
    58         except:
    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)):
    64             open_lin_svg(svgexepath, svgfile)
    64             open_lin_svg(svgexepath, svgfile)
    65         else:
    65         else:
    66             wx.MessageBox("Inkscape is not found or installed !")
    66             wx.MessageBox("Inkscape is not found or installed !")
    67             return None
    67             return None