diff options
author | Philipp Klaus <philipp.klaus@gmail.com> | 2015-02-18 15:54:36 +0100 |
---|---|---|
committer | Philipp Klaus <philipp.klaus@gmail.com> | 2015-02-18 16:14:46 +0100 |
commit | e6fa61c82b41473e5d6b37846b2ee372a5dc417f (patch) | |
tree | 1af2a39a74dacfbd62d556892dd820a5f0b80a14 | |
parent | 7ace94b0230e9acd85097c1812840250d551015c (diff) | |
download | gerbonara-e6fa61c82b41473e5d6b37846b2ee372a5dc417f.tar.gz gerbonara-e6fa61c82b41473e5d6b37846b2ee372a5dc417f.tar.bz2 gerbonara-e6fa61c82b41473e5d6b37846b2ee372a5dc417f.zip |
Fixing more relative import statements
-rw-r--r-- | gerber/common.py | 6 | ||||
-rw-r--r-- | gerber/render/__init__.py | 4 |
2 files changed, 5 insertions, 5 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) diff --git a/gerber/render/__init__.py b/gerber/render/__init__.py index b4af4ad..1e60792 100644 --- a/gerber/render/__init__.py +++ b/gerber/render/__init__.py @@ -24,5 +24,5 @@ SVG is the only supported format. """ -from svgwrite_backend import GerberSvgContext -from cairo_backend import GerberCairoContext +from .svgwrite_backend import GerberSvgContext +from .cairo_backend import GerberCairoContext |