Marius Stanciu hace 6 años
padre
commit
e26953a6f3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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: