Marius Stanciu пре 6 година
родитељ
комит
e26953a6f3
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      flatcamParsers/ParseExcellon.py

+ 1 - 1
flatcamParsers/ParseExcellon.py

@@ -790,7 +790,7 @@ class Excellon(Geometry):
                     # ## Units and number format # ##
                     match = self.units_re.match(eline)
                     if match:
-                        self.units = self.units = {"METRIC": "MM", "INCH": "IN"}[match.group(1)]
+                        self.units = {"METRIC": "MM", "INCH": "IN"}[match.group(1)]
                         self.zeros = match.group(2)  # "T" or "L". Might be empty
                         self.excellon_format = match.group(3)
                         if self.excellon_format: