summaryrefslogtreecommitdiff
path: root/gerber/common.py
diff options
context:
space:
mode:
authorPaulo Henrique Silva <ph.silva@gmail.com>2015-02-18 13:29:38 -0200
committerPaulo Henrique Silva <ph.silva@gmail.com>2015-02-18 13:29:38 -0200
commitca5044224c4d7805fadc07574529323c10301fa3 (patch)
tree378b5fc7aa9fb1fe179c75cdbeaa14778450db4a /gerber/common.py
parentae19376c40ac6edf3b97e9b47acac81386cd3fe9 (diff)
parented7d9ceb349f405ca40f43835a5fd6fc1beed98b (diff)
downloadgerbonara-ca5044224c4d7805fadc07574529323c10301fa3.tar.gz
gerbonara-ca5044224c4d7805fadc07574529323c10301fa3.tar.bz2
gerbonara-ca5044224c4d7805fadc07574529323c10301fa3.zip
Merge pull request #16 from pklaus/relative-imports
Fixing more relative import statements
Diffstat (limited to 'gerber/common.py')
-rw-r--r--gerber/common.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gerber/common.py b/gerber/common.py
index 83e3cb0..78da2cd 100644
--- a/gerber/common.py
+++ b/gerber/common.py
@@ -30,9 +30,9 @@ def read(filename):
CncFile object representing the file, either GerberFile or
ExcellonFile. Returns None if file is not an Excellon or Gerber file.
"""
- import rs274x
- import excellon
- from utils import detect_file_format
+ from . import rs274x
+ from . import excellon
+ from .utils import detect_file_format
fmt = detect_file_format(filename)
if fmt == 'rs274x':
return rs274x.read(filename)