summaryrefslogtreecommitdiff
path: root/gerber/__main__.py
diff options
context:
space:
mode:
Diffstat (limited to 'gerber/__main__.py')
-rw-r--r--gerber/__main__.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/gerber/__main__.py b/gerber/__main__.py
index 10da12e..71e3bfc 100644
--- a/gerber/__main__.py
+++ b/gerber/__main__.py
@@ -29,14 +29,13 @@ if __name__ == '__main__':
for filename in sys.argv[1:]:
print "parsing %s" % filename
if 'GTO' in filename or 'GBO' in filename:
- ctx.set_color((1,1,1))
+ ctx.set_color((1, 1, 1))
ctx.set_alpha(0.8)
elif 'GTS' in filename or 'GBS' in filename:
- ctx.set_color((0.2,0.2,0.75))
+ ctx.set_color((0.2, 0.2, 0.75))
ctx.set_alpha(0.8)
gerberfile = read(filename)
gerberfile.render(ctx)
print('Saving image to test.svg')
ctx.dump('test.svg')
-