From: JazzyNico Date: Sat, 13 Jun 2009 05:13:17 +0000 (+0000) Subject: embedimage.py patch #3 for Bug #386069 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0dc731301a9a802021adef8a17e5007ab437f979;p=inkscape.git embedimage.py patch #3 for Bug #386069 --- 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