Skip to content

Commit f4b6177

Browse files
committed
Update ebook script to work with new Inkscape versions
1 parent ded3cb8 commit f4b6177

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build_ebook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def repl(m):
101101
parts = fn.split('.')
102102

103103
if parts[1] == 'svg':
104-
subprocess.check_output(['inkscape', '-z', '-e', 'images/' +
104+
subprocess.check_output(['inkscape', '--export-filename=images/' +
105105
parts[0] + '.png', 'images/' + fn], stderr=subprocess.STDOUT)
106106
generatedPngs.append('images/' + parts[0] + '.png')
107107

0 commit comments

Comments
 (0)