- 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

@@ -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