From 6cdb276a084b345980683930fdc945a7440b018a Mon Sep 17 00:00:00 2001 From: Marius Stanciu Date: Tue, 25 Jan 2022 04:30:14 +0200 Subject: [PATCH] - minor changes --- CHANGELOG.md | 4 ++++ appObjects/FlatCAMExcellon.py | 2 +- appObjects/FlatCAMGerber.py | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f3228a89..95b20e8d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ CHANGELOG for FlatCAM beta ================================================= +25.01.2022 + +- minor changes + 24.01.2022 - fixed a syntax error in a call of the log.error() diff --git a/appObjects/FlatCAMExcellon.py b/appObjects/FlatCAMExcellon.py index 820691fb..f2f3dd7e 100644 --- a/appObjects/FlatCAMExcellon.py +++ b/appObjects/FlatCAMExcellon.py @@ -106,7 +106,7 @@ class ExcellonObject(FlatCAMObj, Excellon): # Attributes to be included in serialization # Always append to it because it carries contents # from predecessors. - self.ser_attrs += ['options', 'kind', 'fill_color', 'outline_color', 'alpha_level'] + self.ser_attrs = ['options', 'kind', 'fill_color', 'outline_color', 'alpha_level'] + self.ser_attrs def set_ui(self, ui): """ diff --git a/appObjects/FlatCAMGerber.py b/appObjects/FlatCAMGerber.py index 672dd1b8..6bf7b686 100644 --- a/appObjects/FlatCAMGerber.py +++ b/appObjects/FlatCAMGerber.py @@ -106,7 +106,7 @@ class GerberObject(FlatCAMObj, Gerber): # Attributes to be included in serialization # Always append to it because it carries contents # from predecessors. - self.ser_attrs += ['options', 'kind', 'fill_color', 'outline_color', 'alpha_level'] + self.ser_attrs = ['options', 'kind', 'fill_color', 'outline_color', 'alpha_level'] + self.ser_attrs def set_ui(self, ui): """