docutil/docsvg.py
changeset 755 1d77d700761f
parent 682 4d437bc0ef3f
--- a/docutil/docsvg.py	Sun Sep 02 01:18:50 2012 +0200
+++ b/docutil/docsvg.py	Tue Sep 04 11:31:21 2012 +0200
@@ -47,9 +47,8 @@
 def open_svg(svgfile):
     """ Generic function to open SVG file """
     if wx.Platform == '__WXMSW__' :
-        svgexepath = get_inkscape_path()
         try:
-            open_win_svg(svgexepath , svgfile)
+            open_win_svg(get_inkscape_path(), svgfile)
         except:
             wx.MessageBox("Inkscape is not found or installed !")
             return None