summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2021-02-21 19:05:58 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2021-02-21 19:05:58 (GMT)
commitcdadf04e49e107c9d4993be695713135ebb32d61 (patch)
tree0f6efa1da6b117afd1c3b783d47d5e3189d66379
parentc4c2002d000b0705fbbbefb5db5e97ccf25d4edf (diff)
downloadpublik-website-cdadf04e49e107c9d4993be695713135ebb32d61.zip
publik-website-cdadf04e49e107c9d4993be695713135ebb32d61.tar.gz
publik-website-cdadf04e49e107c9d4993be695713135ebb32d61.tar.bz2
scripts: update for inkscape 1.0
-rw-r--r--static/img/scripts/generate.py6
1 files 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])