summaryrefslogtreecommitdiff
path: root/gerbonara/gerber/rs274x.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2022-01-08 21:50:48 +0100
committerjaseg <git@jaseg.de>2022-01-08 21:50:48 +0100
commitf09ef6f1172ca362c025048b45538c087cab0dc3 (patch)
treebac51961895fe2ac3ee156a35321d3325be4cea6 /gerbonara/gerber/rs274x.py
parent5885b60f14c35a65b67071a439a53aaacf39b594 (diff)
downloadgerbonara-f09ef6f1172ca362c025048b45538c087cab0dc3.tar.gz
gerbonara-f09ef6f1172ca362c025048b45538c087cab0dc3.tar.bz2
gerbonara-f09ef6f1172ca362c025048b45538c087cab0dc3.zip
Fix rotation tests
Diffstat (limited to 'gerbonara/gerber/rs274x.py')
-rw-r--r--gerbonara/gerber/rs274x.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/gerber/rs274x.py b/gerbonara/gerber/rs274x.py
index f53c78a..53b4e5e 100644
--- a/gerbonara/gerber/rs274x.py
+++ b/gerbonara/gerber/rs274x.py
@@ -59,7 +59,7 @@ def points_close(a, b):
else:
return math.isclose(a[0], b[0]) and math.isclose(a[1], b[1])
-def Tag:
+class Tag:
def __init__(self, name, children=None, **attrs):
self.name, self.children, self.attrs = name, children, attrs