diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2012-02-06 21:04:27 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2012-02-06 21:04:27 (GMT) |
commit | c1b8c7cf88427aaf44756e4f725c3018fa2dc48c (patch) | |
tree | 29be98f25d5e6c57626551d6c927df8b4a8e3e88 | |
parent | 4384653f27f0338a30535a04ab9a219b37a1ddee (diff) |
Do a symlink instead of a copy from xml to xhtml
-rw-r--r-- | epubview/epubview.py | 2 |
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) |