From f047af52b2fea2232c05e4084b95147669294f62 Mon Sep 17 00:00:00 2001 From: Nicolas Dufour Date: Mon, 29 Aug 2011 19:54:59 +0200 Subject: Extensions. Fix for bug #821435 (Gimp XCF export fails when layer id contains a space character). (bzr r10592) --- share/extensions/gimp_xcf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/extensions/gimp_xcf.py b/share/extensions/gimp_xcf.py index ae62c4a3d..8c063d660 100755 --- a/share/extensions/gimp_xcf.py +++ b/share/extensions/gimp_xcf.py @@ -1,7 +1,7 @@ #!/usr/bin/env python ''' Copyright (C) 2006 Aaron Spike, aaron@ekips.org -Copyright (C) 2010 Nicolas Dufour, nicoduf@yahoo.fr (Windows support and various fixes) +Copyright (C) 2010-2011 Nicolas Dufour, nicoduf@yahoo.fr (Windows support and various fixes) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -132,7 +132,7 @@ class MyEffect(inkex.Effect): else: name = id filename = os.path.join(self.tmp_dir, "%s.png" % id) - command = "inkscape -i %s -j %s %s -e %s %s " % (id, area, opacity, filename, svg_file) + command = "inkscape -i \"%s\" -j %s %s -e \"%s\" %s " % (id, area, opacity, filename, svg_file) if bsubprocess: p = Popen(command, shell=True, stdout=PIPE, stderr=PIPE) return_code = p.wait() -- cgit v1.2.3