summaryrefslogtreecommitdiff
path: root/gerbonara/cad/kicad/graphical_primitives.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-04-23 23:33:00 +0200
committerjaseg <git@jaseg.de>2023-04-23 23:33:00 +0200
commitbda404c18be7e6c8a82c2a4022bcde1215679b9e (patch)
tree87d71d788b27e8d6df07db2580a5fd46c67409f8 /gerbonara/cad/kicad/graphical_primitives.py
parentaaaf96e8d91b38ca8bd2ca488e4ded729417f8e3 (diff)
downloadgerbonara-bda404c18be7e6c8a82c2a4022bcde1215679b9e.tar.gz
gerbonara-bda404c18be7e6c8a82c2a4022bcde1215679b9e.tar.bz2
gerbonara-bda404c18be7e6c8a82c2a4022bcde1215679b9e.zip
Fix a bunch of failing tests
Diffstat (limited to 'gerbonara/cad/kicad/graphical_primitives.py')
-rw-r--r--gerbonara/cad/kicad/graphical_primitives.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/cad/kicad/graphical_primitives.py b/gerbonara/cad/kicad/graphical_primitives.py
index bc1bfe7..171fa76 100644
--- a/gerbonara/cad/kicad/graphical_primitives.py
+++ b/gerbonara/cad/kicad/graphical_primitives.py
@@ -124,7 +124,7 @@ class FillMode:
@classmethod
def __map__(self, obj, parent=None):
- return obj[0] in (Atom.solid, Atom.yes)
+ return obj[1] in (Atom.solid, Atom.yes)
@classmethod
def __sexp__(self, value):