diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2012-02-06 20:01:10 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2012-02-06 20:01:10 (GMT) |
commit | b8328eb3fa69e9647abb55b2531bf51b69be55b4 (patch) | |
tree | ff5adc769c74fc6328ce4b16b20a303592c092ad /epubview | |
parent | 775c8ca23009722f4e87fbf5d14053b7236351c1 (diff) |
Do a symlink instead of a copy from xml to xhtml
Diffstat (limited to 'epubview')
-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 b064a97..62dce35 100644 --- a/epubview/epubview.py +++ b/epubview/epubview.py @@ -589,7 +589,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) |