summaryrefslogtreecommitdiff
path: root/gerber/common.py
diff options
context:
space:
mode:
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: