From cdadf04e49e107c9d4993be695713135ebb32d61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sun, 21 Feb 2021 20:05:58 +0100 Subject: [PATCH] scripts: update for inkscape 1.0 --- static/img/scripts/generate.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/static/img/scripts/generate.py b/static/img/scripts/generate.py index 864cdfe..153bea9 100644 --- a/static/img/scripts/generate.py +++ b/static/img/scripts/generate.py @@ -39,9 +39,9 @@ for svg_path in args: f.close() svg_path = f.name # XXX: add author to png metadata - subprocess.call(['inkscape', '--without-gui', - '--file', svg_path, + subprocess.call(['inkscape', + svg_path, '--export-area-drawing', '--export-area-snap', - '--export-png', output_filename, + '--export-filename', output_filename, '--export-width', options.width])