From 441b553fa8010835a25e98782337fa5be2142833 Mon Sep 17 00:00:00 2001 From: Marius Stanciu Date: Tue, 16 Jun 2020 12:27:48 +0300 Subject: [PATCH] - more typos fixed in Excellon parser, slots processing --- CHANGELOG.md | 1 + appParsers/ParseExcellon.py | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ef6747b..4f709f14 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/appParsers/ParseExcellon.py b/appParsers/ParseExcellon.py index e2bd806a..a9a7cefb 100644 --- a/appParsers/ParseExcellon.py +++ b/appParsers/ParseExcellon.py @@ -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