Skip to content

Commit

Permalink
FIX: error when no Drill-NP layer present
Browse files Browse the repository at this point in the history
  • Loading branch information
drayde committed Nov 8, 2019
1 parent 0516566 commit e402e5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inkscape/svg2shenzhen/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ def exportDrillLayer(self, layerPath, pad_template):

kicad_drill_string += pad_template.format(x=padCoord[0], y=padCoord[1], n=count, d=drill_size)

return kicad_drill_string
return kicad_drill_string

def flatten_bezier(self):
layerPath = '//svg:g[@inkscape:groupmode="layer"][@inkscape:label="Edge.Cuts"]'
Expand Down

0 comments on commit e402e5d

Please sign in to comment.