summaryrefslogtreecommitdiff
path: root/gerber/__main__.py
diff options
context:
space:
mode:
Diffstat (limited to 'gerber/__main__.py')
-rw-r--r--gerber/__main__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gerber/__main__.py b/gerber/__main__.py
index 8f20212..a792182 100644
--- a/gerber/__main__.py
+++ b/gerber/__main__.py
@@ -16,8 +16,8 @@
# the License.
if __name__ == '__main__':
- from .common import read
- from .render import GerberSvgContext
+ from gerber.common import read
+ from gerber.render import GerberSvgContext
import sys
if len(sys.argv) < 2:
@@ -27,7 +27,7 @@ if __name__ == '__main__':
ctx = GerberSvgContext()
ctx.alpha = 0.95
for filename in sys.argv[1:]:
- print "parsing %s" % filename
+ print("parsing %s" % filename)
if 'GTO' in filename or 'GBO' in filename:
ctx.color = (1, 1, 1)
ctx.alpha = 0.8