equal
deleted
inserted
replaced
91 if dialog.ShowModal() == wx.ID_OK: |
91 if dialog.ShowModal() == wx.ID_OK: |
92 svgpath = dialog.GetPath() |
92 svgpath = dialog.GetPath() |
93 if os.path.isfile(svgpath): |
93 if os.path.isfile(svgpath): |
94 shutil.copy(svgpath, self._getSVGpath()) |
94 shutil.copy(svgpath, self._getSVGpath()) |
95 else: |
95 else: |
96 self.logger.write_error(_("No such SVG file: %s\n")%svgpath) |
96 self.GetPlugRoot().logger.write_error(_("No such SVG file: %s\n")%svgpath) |
97 dialog.Destroy() |
97 dialog.Destroy() |
98 |
98 |
99 def _StartInkscape(self): |
99 def _StartInkscape(self): |
100 svgfile = self._getSVGpath() |
100 svgfile = self._getSVGpath() |
101 if not os.path.isfile(svgfile): |
101 if not os.path.isfile(svgfile): |