From 0dc731301a9a802021adef8a17e5007ab437f979 Mon Sep 17 00:00:00 2001 From: JazzyNico Date: Sat, 13 Jun 2009 05:13:17 +0000 Subject: [PATCH] embedimage.py patch #3 for Bug #386069 --- share/extensions/embedimage.py | 4 ++-- 1 file 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 -- 2.30.2