Skip to content

Commit b955422

Browse files
committed
debug mode still needed
1 parent 6e4cecb commit b955422

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

inkscape/svg2shenzhen/export.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,12 +516,14 @@ def exportToKicad(self, png_path, output_path, layer_type, invert = "true"):
516516
bitmap2component_exe = os.path.join(plugin_path, 'bitmap2component.exe')
517517

518518
command = "\"%s\" \"%s\" \"%s\" %s %s %s %s" % (bitmap2component_exe, png_path, output_path, layer_type, invert , str(int(self.options.dpi)) , str(int(self.options.threshold)))
519+
inkex.debug(command)
519520
return subprocess.Popen(command.encode("utf-8"), shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
520521

521522

522523
def exportToPng(self, svg_path, output_path):
523524
area_param = '-D' if self.options.crop else 'C'
524525
command = "inkscape %s -d %s -e \"%s\" \"%s\"" % (area_param, self.options.dpi, output_path, svg_path)
526+
inkex.debug(command)
525527
return subprocess.Popen(command.encode("utf-8"), shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
526528

527529

0 commit comments

Comments
 (0)