summaryrefslogtreecommitdiff
path: root/gerber/common.py
diff options
context:
space:
mode:
authorPaulo Henrique Silva <ph.silva@gmail.com>2016-11-16 23:54:09 -0200
committerGitHub <noreply@github.com>2016-11-16 23:54:09 -0200
commit521fe89150c6aaa0ff0954cc8d32e4b6f8009324 (patch)
tree59cef68f1449a5be8d2a9a8ed352e3d9974a3edb /gerber/common.py
parent7030eee5e28180732c5cf98aeda4b66657223870 (diff)
parent1e868763a1c4030bedd51553468cbe25f272bef9 (diff)
downloadgerbonara-521fe89150c6aaa0ff0954cc8d32e4b6f8009324.tar.gz
gerbonara-521fe89150c6aaa0ff0954cc8d32e4b6f8009324.tar.bz2
gerbonara-521fe89150c6aaa0ff0954cc8d32e4b6f8009324.zip
Merge pull request #58 from garretfick/merge-curtacircuitos
Epic merge from @garretfick Thanks a lot @garretfick and @hamiltonkibbe.
Diffstat (limited to 'gerber/common.py')
-rw-r--r--gerber/common.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/gerber/common.py b/gerber/common.py
index 334714b..f496809 100644
--- a/gerber/common.py
+++ b/gerber/common.py
@@ -62,12 +62,10 @@ def loads(data, filename=None):
fmt = detect_file_format(data)
if fmt == 'rs274x':
- return rs274x.loads(data, filename)
+ return rs274x.loads(data, filename=filename)
elif fmt == 'excellon':
- return excellon.loads(data, filename)
+ return excellon.loads(data, filename=filename)
elif fmt == 'ipc_d_356':
- return ipc356.loads(data, filename)
+ return ipc356.loads(data, filename=filename)
else:
raise ParseError('Unable to detect file format')
-
-