- more typos fixed in Excellon parser, slots processing

This commit is contained in:
Marius Stanciu 2020-06-16 12:27:48 +03:00 committed by Marius
parent ba931a6adc
commit 441b553fa8
2 changed files with 4 additions and 3 deletions

View File

@ -14,6 +14,7 @@ CHANGELOG for FlatCAM beta
- fixed Excellon export to work with the new data structure
- fixed all transformations in the Excellon object attributes; still need to fix the App Tools that creates or use Exellon objects
- fixed some problems (typos, missing data) generated by latest changes
- more typos fixed in Excellon parser, slots processing
15.06.2020

View File

@ -552,7 +552,7 @@ class Excellon(Geometry):
if current_tool not in self.tools:
self.tools[current_tool] = {}
if 'slots' in self.tools[current_tool]:
self.tools[current_tool]['slots'].apend(slot)
self.tools[current_tool]['slots'].append(slot)
else:
self.tools[current_tool]['slots'] = [slot]
continue
@ -722,7 +722,7 @@ class Excellon(Geometry):
if current_tool not in self.tools:
self.tools[current_tool] = {}
if 'slots' in self.tools[current_tool]:
self.tools[current_tool]['slots'].apend(slot)
self.tools[current_tool]['slots'].append(slot)
else:
self.tools[current_tool]['slots'] = [slot]
continue
@ -802,7 +802,7 @@ class Excellon(Geometry):
if current_tool not in self.tools:
self.tools[current_tool] = {}
if 'slots' in self.tools[current_tool]:
self.tools[current_tool]['slots'].apend(slot)
self.tools[current_tool]['slots'].append(slot)
else:
self.tools[current_tool]['slots'] = [slot]
continue