Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/net.py
diff options
context:
space:
mode:
Diffstat (limited to 'net.py')
-rw-r--r--net.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/net.py b/net.py
index 8f43009..1d6728b 100644
--- a/net.py
+++ b/net.py
@@ -95,6 +95,7 @@ def image_handler(root, uid, document):
#change to relative paths:
if not fail:
image['href'] = os.path.join(dir_path.replace(os.path.join(root, ""), "", 1), image_title)
+ image['orig_href'] = path
else:
image.extract()