summaryrefslogtreecommitdiff
path: root/gerberex/common.py
diff options
context:
space:
mode:
Diffstat (limited to 'gerberex/common.py')
-rw-r--r--gerberex/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerberex/common.py b/gerberex/common.py
index 47bc6b3..6e8a832 100644
--- a/gerberex/common.py
+++ b/gerberex/common.py
@@ -25,7 +25,7 @@ def loads(data, filename=None, format=None):
fmt = detect_file_format(data)
if fmt == 'rs274x':
- file = gerber.rs274x.loads(data, filename=filename)
+ file = gerberex.rs274x.loads(data, filename=filename)
return gerberex.rs274x.GerberFile.from_gerber_file(file)
elif fmt == 'excellon':
return gerberex.excellon.loads(data, filename=filename, format=format)