From 02df6cccb4d42befdd32c0e2250ab348eacbde8b Mon Sep 17 00:00:00 2001 From: JazzyNico Date: Fri, 12 Jun 2009 19:17:51 +0000 Subject: [PATCH] embedimage.py patch #2 for Bug #386069 --- share/extensions/embedimage.py | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.30.2