diff options
| author | Nicolas Dufour <nicoduf@yahoo.fr> | 2009-06-13 05:13:17 +0000 |
|---|---|---|
| committer | JazzyNico <JazzyNico@users.sourceforge.net> | 2009-06-13 05:13:17 +0000 |
| commit | d1fdf94d9c30782ad2024a8c422eea4b595cb6e6 (patch) | |
| tree | 82b13472449006d724b44451890b363567e76f44 | |
| parent | * optipng -o9 *.png (in trunk) (diff) | |
| download | inkscape-d1fdf94d9c30782ad2024a8c422eea4b595cb6e6.tar.gz inkscape-d1fdf94d9c30782ad2024a8c422eea4b595cb6e6.zip | |
embedimage.py patch #3 for Bug #386069
(bzr r8073)
| -rw-r--r-- | share/extensions/embedimage.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/extensions/embedimage.py b/share/extensions/embedimage.py index bc3ed6a05..f7f0d81d5 100644 --- a/share/extensions/embedimage.py +++ b/share/extensions/embedimage.py @@ -57,8 +57,8 @@ class Embedder(inkex.Effect): absref=node.get(inkex.addNS('absref','sodipodi')) url=urlparse.urlparse(xlink) href=url.path - if os.name == 'nt' and href[1:1] == '/': - href = href[3:0] + if os.name == 'nt' and href[0] == '/': + href = href[3:] path='' #path selection strategy: # 1. href if absolute |
