Skip to content

Commit

Permalink
Do not return None if no drill layer [fix] (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoijui authored Aug 23, 2020
1 parent 13040cd commit 0c933a8
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 @@ -719,7 +719,7 @@ def exportDrill(self, kicad_mod=False):

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 0c933a8

Please sign in to comment.