summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8652347)
raw | patch | inline | side by side (parent: 8652347)
author | JazzyNico <JazzyNico@users.sourceforge.net> | |
Fri, 12 Jun 2009 19:17:51 +0000 (19:17 +0000) | ||
committer | JazzyNico <JazzyNico@users.sourceforge.net> | |
Fri, 12 Jun 2009 19:17:51 +0000 (19:17 +0000) |
share/extensions/embedimage.py | patch | blob | history |
index a6cef536373a98c94edefe1ee2d6438e3a73e4d2..bc3ed6a0555894ca52ec4c7da787cc62606f8c36 100644 (file)
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