diff options
| author | Nicolas Dufour <nicoduf@yahoo.fr> | 2011-08-29 17:54:59 +0000 |
|---|---|---|
| committer | JazzyNico <nicoduf@yahoo.fr> | 2011-08-29 17:54:59 +0000 |
| commit | f047af52b2fea2232c05e4084b95147669294f62 (patch) | |
| tree | 2c11df69684a61e1a022538657059f949dac4097 | |
| parent | Add minimal support for reading color-interpolation and color-interpolation-f... (diff) | |
| download | inkscape-f047af52b2fea2232c05e4084b95147669294f62.tar.gz inkscape-f047af52b2fea2232c05e4084b95147669294f62.zip | |
Extensions. Fix for bug #821435 (Gimp XCF export fails when layer id contains a space character).
(bzr r10592)
| -rwxr-xr-x | share/extensions/gimp_xcf.py | 4 |
1 files 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() |
