summaryrefslogtreecommitdiff
path: root/gerber/statements.py
diff options
context:
space:
mode:
authorHamilton Kibbe <hamilton.kibbe@gmail.com>2014-09-30 23:53:57 -0400
committerHamilton Kibbe <hamilton.kibbe@gmail.com>2014-09-30 23:53:57 -0400
commitea0dc8d0c8d0002008a462fbb70e8846f6691253 (patch)
tree4f0fed81868a41b10e90f16e8883a6ef570da43a /gerber/statements.py
parentf8449ad2b60b8a715d0867325e257a8297193b49 (diff)
downloadgerbonara-ea0dc8d0c8d0002008a462fbb70e8846f6691253.tar.gz
gerbonara-ea0dc8d0c8d0002008a462fbb70e8846f6691253.tar.bz2
gerbonara-ea0dc8d0c8d0002008a462fbb70e8846f6691253.zip
tests
Diffstat (limited to 'gerber/statements.py')
-rw-r--r--gerber/statements.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gerber/statements.py b/gerber/statements.py
index 47dbd69..5a9d046 100644
--- a/gerber/statements.py
+++ b/gerber/statements.py
@@ -209,8 +209,8 @@ class OFParamStmt(ParamStmt):
self.a = a
self.b = b
- def to_gerber(self, settings):
- stmt = '%OF'
+ def to_gerber(self):
+ ret = '%OF'
if self.a:
ret += 'A' + decimal_string(self.a, precision=6)
if self.b: