Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2012-02-06 21:04:27 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2012-02-06 21:04:27 (GMT)
commitc1b8c7cf88427aaf44756e4f725c3018fa2dc48c (patch)
tree29be98f25d5e6c57626551d6c927df8b4a8e3e88
parent4384653f27f0338a30535a04ab9a219b37a1ddee (diff)
Do a symlink instead of a copy from xml to xhtml
-rw-r--r--epubview/epubview.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/epubview/epubview.py b/epubview/epubview.py
index 83c866e..a626fe1 100644
--- a/epubview/epubview.py
+++ b/epubview/epubview.py
@@ -583,7 +583,7 @@ class _View(gtk.HBox):
if filename.endswith('xml'):
dest = filename.replace('xml', 'xhtml')
- shutil.copy(filename, dest)
+ os.symlink(filename, dest)
self._view.open('file://' + dest)
else:
self._view.open('file://' + filename)