From: JazzyNico Date: Fri, 12 Jun 2009 19:17:51 +0000 (+0000) Subject: embedimage.py patch #2 for Bug #386069 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=02df6cccb4d42befdd32c0e2250ab348eacbde8b;p=inkscape.git embedimage.py patch #2 for Bug #386069 --- diff --git a/share/extensions/embedimage.py b/share/extensions/embedimage.py index a6cef5363..bc3ed6a05 100644 --- a/share/extensions/embedimage.py +++ b/share/extensions/embedimage.py @@ -57,6 +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] path='' #path selection strategy: # 1. href if absolute