Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/epubview
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2012-02-06 20:01:10 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2012-02-06 20:01:10 (GMT)
commitb8328eb3fa69e9647abb55b2531bf51b69be55b4 (patch)
treeff5adc769c74fc6328ce4b16b20a303592c092ad /epubview
parent775c8ca23009722f4e87fbf5d14053b7236351c1 (diff)
Do a symlink instead of a copy from xml to xhtml
Diffstat (limited to 'epubview')
-rw-r--r--epubview/epubview.py2
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)