summaryrefslogtreecommitdiff
path: root/gerber/__main__.py
diff options
context:
space:
mode:
authorPhilipp Klaus <philipp.klaus@gmail.com>2015-02-18 15:35:01 +0100
committerPhilipp Klaus <philipp.klaus@gmail.com>2015-02-18 15:44:57 +0100
commit7ace94b0230e9acd85097c1812840250d551015c (patch)
treef6160399877b1b4f8ba022ce799346362df082ea /gerber/__main__.py
parent0e98a3f0d451795b302a299fe801eb7ece8f735f (diff)
downloadgerbonara-7ace94b0230e9acd85097c1812840250d551015c.tar.gz
gerbonara-7ace94b0230e9acd85097c1812840250d551015c.tar.bz2
gerbonara-7ace94b0230e9acd85097c1812840250d551015c.zip
Make gerber.render a package & fix more relative import statements
Diffstat (limited to 'gerber/__main__.py')
-rw-r--r--gerber/__main__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gerber/__main__.py b/gerber/__main__.py
index 6e25bf3..599c161 100644
--- a/gerber/__main__.py
+++ b/gerber/__main__.py
@@ -16,9 +16,9 @@
# the License.
if __name__ == '__main__':
- from .common import read
- from .render import GerberSvgContext
import sys
+ from gerber.common import read
+ from gerber.render import GerberSvgContext
if len(sys.argv) < 2:
print >> sys.stderr, "Usage: python -m gerber <filename> <filename>..."