Skip to content

Commit

Permalink
fix crash on export all layers
Browse files Browse the repository at this point in the history
  • Loading branch information
badgeek committed Apr 1, 2018
1 parent d754571 commit cca8f20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inkscape/export_layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,8 @@ def processExportLayer(self):
layer_dest_png_path = os.path.join(output_path, "%s_%s.png" % (str(counter).zfill(3), layer_label))
self.exportToPng(layer_dest_svg_path, layer_dest_png_path)
finally:
print "ok"
# os.remove(layer_dest_svg_path)
# print "ok"
os.remove(layer_dest_svg_path)

counter = counter + 1

Expand Down

0 comments on commit cca8f20

Please sign in to comment.