summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--share/extensions/embedimage.py2
1 files changed, 2 insertions, 0 deletions
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