svghmi/svghmi.py
branchsvghmi
changeset 2781 fbdd0fd8ee4f
parent 2779 75c6a31caca6
child 2788 2ed9ff826d03
--- a/svghmi/svghmi.py	Thu Sep 19 09:01:49 2019 +0200
+++ b/svghmi/svghmi.py	Thu Sep 19 10:41:39 2019 +0200
@@ -266,8 +266,7 @@
     def _getSVGpath(self, project_path=None):
         if project_path is None:
             project_path = self.CTNPath()
-        # define name for SVG file containing gui layout
-        return os.path.join(project_path, "gui.svg")
+        return os.path.join(project_path, "svghmi.svg")
 
 
     def OnCTNSave(self, from_project_path=None):
@@ -280,7 +279,6 @@
         # invoke inskscape -S, csv-parse output, produce elements
         InkscapeGeomColumns = ["Id", "x", "y", "w", "h"]
 
-        # TODO : move following line to __init__
         inkpath = get_inkscape_path()
         svgpath = self._getSVGpath()
         _status, result, _err_result = ProcessLogger(None,