summaryrefslogtreecommitdiff
path: root/gerber/common.py
diff options
context:
space:
mode:
authorHamilton Kibbe <hamilton.kibbe@gmail.com>2014-10-12 12:38:40 -0400
committerHamilton Kibbe <hamilton.kibbe@gmail.com>2014-10-12 12:38:40 -0400
commit8c5c7ec8bbc8a074884ef04b566f9c0ecd6e78bb (patch)
treea9032538e4a96f11a9ec16d1c761f4d8862529a8 /gerber/common.py
parentd9018da412470053a063b7b28b5e32529fc573f6 (diff)
downloadgerbonara-8c5c7ec8bbc8a074884ef04b566f9c0ecd6e78bb.tar.gz
gerbonara-8c5c7ec8bbc8a074884ef04b566f9c0ecd6e78bb.tar.bz2
gerbonara-8c5c7ec8bbc8a074884ef04b566f9c0ecd6e78bb.zip
update docs and example images
Diffstat (limited to 'gerber/common.py')
-rw-r--r--gerber/common.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gerber/common.py b/gerber/common.py
index 0092ec8..6e8c862 100644
--- a/gerber/common.py
+++ b/gerber/common.py
@@ -30,12 +30,12 @@ def read(filename):
CncFile object representing the file, either GerberFile or
ExcellonFile. Returns None if file is not an Excellon or Gerber file.
"""
- import gerber
+ import rs274x
import excellon
from utils import detect_file_format
fmt = detect_file_format(filename)
if fmt == 'rs274x':
- return gerber.read(filename)
+ return rs274x.read(filename)
elif fmt == 'excellon':
return excellon.read(filename)
else: